CodeGeneratorContext Methods
Include Protected Members
Include Inherited Members
The CodeGeneratorContext type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddCodeMapping | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a new generated code mapping to the collection. | |
AddContextCall | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a code statement for a context call on the specified method. | |
AddDesignTimeHelperStatement | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds a code statement that inserts the Razor design time helpers method in the specified code statement. | |
AddStatement(String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the specified code statement to the body of the target method. | |
AddStatement(String, CodeLinePragma) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the specified code statement to the body of the target method. | |
BufferStatementFragment(String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the specified fragment to the current buffered statement. | |
BufferStatementFragment(Span) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the content of the span to the current buffered statement. | |
BufferStatementFragment(String, Span) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the specified fragment to the current buffered statement. | |
ChangeStatementCollector | Assigns a new statement collector and returns a disposable action that restores the old statement collector. | |
Create | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a new instance of the CodeGeneratorContext class. | |
EnsureExpressionHelperVariable | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Adds the expression helper variable to the generated class if not yet added, | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FlushBufferedStatement | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Flushes the current buffered statement. | |
GenerateLinePragma(Span) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the specified source. | |
GenerateLinePragma(Span, Int32) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source. | |
GenerateLinePragma(SourceLocation, Int32, Int32) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source. | |
GenerateLinePragma(Span, Int32, Int32) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the source. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MarkEndOfGeneratedCode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Marks the end of generated code. | |
MarkStartOfGeneratedCode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Marks the start of generated code. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top