U4-8222 Remove IMacroEngine - we will only ship with the macro engines we have currently
This commit is contained in:
@@ -21,13 +21,11 @@ namespace Umbraco.Web.Macros
|
||||
/// <summary>
|
||||
/// A macro engine using MVC Partial Views to execute
|
||||
/// </summary>
|
||||
public class PartialViewMacroEngine : IMacroEngine
|
||||
public class PartialViewMacroEngine
|
||||
{
|
||||
private readonly Func<HttpContextBase> _getHttpContext;
|
||||
private readonly Func<UmbracoContext> _getUmbracoContext;
|
||||
|
||||
public const string EngineName = "Partial View Macro Engine";
|
||||
|
||||
|
||||
public PartialViewMacroEngine()
|
||||
{
|
||||
_getHttpContext = () =>
|
||||
@@ -56,11 +54,6 @@ namespace Umbraco.Web.Macros
|
||||
_getUmbracoContext = () => umbracoContext;
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return EngineName; }
|
||||
}
|
||||
|
||||
//NOTE: We do not return any supported extensions because we don't want the MacroEngineFactory to return this
|
||||
// macro engine when searching for engines via extension. Those types of engines are reserved for files that are
|
||||
// stored in the ~/macroScripts folder and each engine must support unique extensions. This is a total Hack until
|
||||
|
||||
Reference in New Issue
Block a user