Share via


LiteralAttributeCodeGenerator Class

Definition

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.

public class LiteralAttributeCodeGenerator : System.Web.Razor.Generator.SpanCodeGenerator
type LiteralAttributeCodeGenerator = class
    inherit SpanCodeGenerator
Public Class LiteralAttributeCodeGenerator
Inherits SpanCodeGenerator
Inheritance
LiteralAttributeCodeGenerator

Constructors

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.

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.

Properties

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.

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.

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.

Methods

Equals(Object)

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.

GenerateCode(Span, CodeGeneratorContext)

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.

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.

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.

Applies to