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
Type | Name |
---|---|
ServiceStack.Razor.Compilation.IRazorHost | razorHost |
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
Type | Name |
---|---|
System.CodeDom.CodeCompileUnit | codeCompileUnit |
System.CodeDom.CodeNamespace | generatedNamespace |
System.CodeDom.CodeTypeDeclaration | generatedClass |
System.CodeDom.CodeMemberMethod | executeMethod |
ProcessOutput(String)
View Source
Declaration
string ProcessOutput(string codeContent)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | codeContent |