SectionCodeGenerator Class

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

Represents a section code generator.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Generator.BlockCodeGenerator
    System.Web.Razor.Generator.SectionCodeGenerator

Namespace:  System.Web.Razor.Generator
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class SectionCodeGenerator _
    Inherits BlockCodeGenerator
'Usage
Dim instance As SectionCodeGenerator
public class SectionCodeGenerator : BlockCodeGenerator
public ref class SectionCodeGenerator : public BlockCodeGenerator
type SectionCodeGenerator =  
    class 
        inherit BlockCodeGenerator 
    end
public class SectionCodeGenerator extends BlockCodeGenerator

The SectionCodeGenerator type exposes the following members.

Constructors

  Name Description
Public method SectionCodeGenerator 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 SectionCodeGenerator class.

Top

Properties

  Name Description
Public property SectionName 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 section.

Top

Methods

  Name Description
Public method Equals This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object. (Overrides BlockCodeGenerator.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GenerateEndBlockCode This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates a block after the section code. (Overrides BlockCodeGenerator.GenerateEndBlockCode(Block, CodeGeneratorContext).)
Public method GenerateStartBlockCode This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates a block before the section code. (Overrides BlockCodeGenerator.GenerateStartBlockCode(Block, CodeGeneratorContext).)
Public method GetHashCode This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the hash code for this current instance. (Overrides BlockCodeGenerator.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of this current instance. (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Razor.Generator Namespace