Share via


BlockBuilder.CodeGenerator Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the code generator for the block builder.

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Property CodeGenerator As IBlockCodeGenerator 
    Get 
    Set
'Usage
Dim instance As BlockBuilder 
Dim value As IBlockCodeGenerator 

value = instance.CodeGenerator

instance.CodeGenerator = value
public IBlockCodeGenerator CodeGenerator { get; set; }
public:
property IBlockCodeGenerator^ CodeGenerator {
    IBlockCodeGenerator^ get ();
    void set (IBlockCodeGenerator^ value);
}
member CodeGenerator : IBlockCodeGenerator with get, set
function get CodeGenerator () : IBlockCodeGenerator 
function set CodeGenerator (value : IBlockCodeGenerator)

Property Value

Type: System.Web.Razor.Generator.IBlockCodeGenerator
The code generator for the block builder.

See Also

Reference

BlockBuilder Class

System.Web.Razor.Parser.SyntaxTree Namespace