RazorCodeGenerator Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a Razor code generator.
System::Object
System.Web.Razor.Parser::ParserVisitor
System.Web.Razor.Generator::RazorCodeGenerator
System.Web.Razor.Generator::CSharpRazorCodeGenerator
System.Web.Razor.Generator::VBRazorCodeGenerator
System.Web.Razor.Parser::ParserVisitor
System.Web.Razor.Generator::RazorCodeGenerator
System.Web.Razor.Generator::CSharpRazorCodeGenerator
System.Web.Razor.Generator::VBRazorCodeGenerator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
The RazorCodeGenerator type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | RazorCodeGenerator | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the RazorCodeGenerator class. |
| Name | Description | |
|---|---|---|
![]() | CancelToken | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the cancellation token. (Inherited from ParserVisitor.) |
![]() | ClassName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the class name for this code. |
![]() | Context | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the context of this code generator. |
![]() | DesignTimeMode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value indicating whether the code generator is in design-time mode. |
![]() | GenerateLinePragmas | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value indicating whether the generator should generate line pragmas in the Razor code. |
![]() | Host | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the razor engine host. |
![]() | RootNamespaceName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the root namespace. |
![]() | SourceFileName | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the source file. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Initialize | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes the current RazorCodeGenerator instance. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OnComplete | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Raises the Complete event. (Overrides ParserVisitor::OnComplete().) |
![]() | ThrowIfCanceled | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from ParserVisitor.) |
![]() | ToString | (Inherited from Object.) |
![]() | VisitBlock | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified block. (Inherited from ParserVisitor.) |
![]() | VisitEndBlock | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the end block. (Overrides ParserVisitor::VisitEndBlock(Block).) |
![]() | VisitError | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the given razor error. (Inherited from ParserVisitor.) |
![]() | VisitSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the span. (Overrides ParserVisitor::VisitSpan(Span).) |
![]() | VisitStartBlock | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the start block. (Overrides ParserVisitor::VisitStartBlock(Block).) |
Show:
