Skip to main content

IRazorCodeTransformer

Assembly: ServiceStack.Razor.dll
View Source
Declaration
public interface IRazorCodeTransformer

Methods

Initialize(IRazorHost, IDictionary<String, String>)

View Source
Declaration
void Initialize(IRazorHost razorHost, IDictionary<string, string> directives)
Parameters
TypeName
ServiceStack.Razor.Compilation.IRazorHostrazorHost
System.Collections.Generic.IDictionary<System.String,System.String>directives

ProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)

View Source
Declaration
void ProcessGeneratedCode(CodeCompileUnit codeCompileUnit, CodeNamespace generatedNamespace, CodeTypeDeclaration generatedClass, CodeMemberMethod executeMethod)
Parameters
TypeName
System.CodeDom.CodeCompileUnitcodeCompileUnit
System.CodeDom.CodeNamespacegeneratedNamespace
System.CodeDom.CodeTypeDeclarationgeneratedClass
System.CodeDom.CodeMemberMethodexecuteMethod

ProcessOutput(String)

View Source
Declaration
string ProcessOutput(string codeContent)
Returns

System.String

Parameters
TypeName
System.StringcodeContent