Files
Umbraco-CMS/umbraco/cms/businesslogic/macro/IMacroEngine.cs
2011-02-16 01:48:40 -11:00

18 lines
604 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using umbraco.interfaces;
namespace umbraco.cms.businesslogic.macro
{
public interface IMacroEngine {
string Name { get; }
IEnumerable<string> SupportedExtensions { get; }
IEnumerable<string> SupportedUIExtensions { get; }
Dictionary<string, IMacroGuiRendering> SupportedProperties { get; }
bool Validate(string code, string tempFileName, INode currentPage, out string errorMessage);
string Execute(MacroModel macro, INode currentPage);
}
}