Share via


AttributeBlockCodeGenerator Class

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

Represents the attributes of the block code generator.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Generator.BlockCodeGenerator
    System.Web.Razor.Generator.AttributeBlockCodeGenerator

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

Syntax

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

The AttributeBlockCodeGenerator type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Name This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the string name of the AttributeBlockCodeGenerator.
Public property Prefix This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the prefix of the code generator.
Public property Suffix This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the suffix for the code generator.

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 code to end the block using the specified parameters. (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 code to start the block using the specified parameters. (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.Returns the hash code for this code generator. (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 that represents the current object. (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