CSharpRazorCodeGenerator Properties

Include Protected Members
Include Inherited Members

The CSharpRazorCodeGenerator type exposes the following members.

Properties

  Name Description
Public property 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.)
Public property 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. (Inherited from RazorCodeGenerator.)
Public property 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. (Inherited from RazorCodeGenerator.)
Public property 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. (Inherited from RazorCodeGenerator.)
Public property 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. (Inherited from RazorCodeGenerator.)
Public property 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. (Inherited from RazorCodeGenerator.)
Public property 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. (Inherited from RazorCodeGenerator.)
Public property 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. (Inherited from RazorCodeGenerator.)

Top

See Also

Reference

CSharpRazorCodeGenerator Class

System.Web.Razor.Generator Namespace