WebPageTransformer
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class WebPageTransformer : AggregateCodeTransformer, IRazorCodeTransformer
Properties
CodeTransformers
View Source
Declaration
protected override IEnumerable<RazorCodeTransformerBase> CodeTransformers { get; }
Methods
Initialize(RazorPageHost, IDictionary<String, String>)
View Source
Declaration
public override void Initialize(RazorPageHost razorHost, IDictionary<string, string> directives)
Parameters
Type | Name |
---|---|
ServiceStack.Razor.Compilation.RazorPageHost | razorHost |
System.Collections.Generic.IDictionary<System.String,System.String> | directives |
ProcessGeneratedCode(CodeCompileUnit, CodeNamespace, CodeTypeDeclaration, CodeMemberMethod)
View Source
Declaration
public override 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 |