LiteralAttributeCodeGenerator Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a code generator for literal attribute.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Generator.SpanCodeGenerator
    System.Web.Razor.Generator.LiteralAttributeCodeGenerator

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

Syntax

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

The LiteralAttributeCodeGenerator type exposes the following members.

Constructors

  Name Description
Public method LiteralAttributeCodeGenerator(LocationTagged<String>, LocationTagged<String>) 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 LiteralAttributeCodeGenerator class.
Public method LiteralAttributeCodeGenerator(LocationTagged<String>, LocationTagged<SpanCodeGenerator>) 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 LiteralAttributeCodeGenerator class.

Top

Properties

  Name Description
Public property Prefix This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the prefix of the literal attribute.
Public property Value This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the value of the literal attribute.
Public property ValueGenerator This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the value generator for the literal attribute.

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 this instance. (Overrides SpanCodeGenerator.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GenerateCode This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the code for the literal attribute. (Overrides SpanCodeGenerator.GenerateCode(Span, CodeGeneratorContext).)
Public method GetHashCode This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the hash code for the current instance. (Overrides SpanCodeGenerator.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 the string representation of this 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