Udostępnij za pośrednictwem


LiteralAttributeCodeGenerator Konstruktory

Definicja

Przeciążenia

LiteralAttributeCodeGenerator(LocationTagged<String>, LocationTagged<String>)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. . Inicjuje nowe wystąpienie klasy LiteralAttributeCodeGenerator.

LiteralAttributeCodeGenerator(LocationTagged<String>, LocationTagged<SpanCodeGenerator>)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. . Inicjuje nowe wystąpienie klasy LiteralAttributeCodeGenerator.

LiteralAttributeCodeGenerator(LocationTagged<String>, LocationTagged<String>)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. . Inicjuje nowe wystąpienie klasy LiteralAttributeCodeGenerator.

public LiteralAttributeCodeGenerator (System.Web.Razor.Text.LocationTagged<string> prefix, System.Web.Razor.Text.LocationTagged<string> value);
new System.Web.Razor.Generator.LiteralAttributeCodeGenerator : System.Web.Razor.Text.LocationTagged<string> * System.Web.Razor.Text.LocationTagged<string> -> System.Web.Razor.Generator.LiteralAttributeCodeGenerator
Public Sub New (prefix As LocationTagged(Of String), value As LocationTagged(Of String))

Parametry

prefix
LocationTagged<String>

Prefiks atrybutu literału.

value
LocationTagged<String>

Wartość atrybutu literału.

Dotyczy

LiteralAttributeCodeGenerator(LocationTagged<String>, LocationTagged<SpanCodeGenerator>)

Ten typ/element członkowski obsługuje infrastrukturę .NET Framework i nie jest przeznaczony do użycia bezpośrednio z kodu. . Inicjuje nowe wystąpienie klasy LiteralAttributeCodeGenerator.

public LiteralAttributeCodeGenerator (System.Web.Razor.Text.LocationTagged<string> prefix, System.Web.Razor.Text.LocationTagged<System.Web.Razor.Generator.SpanCodeGenerator> valueGenerator);
new System.Web.Razor.Generator.LiteralAttributeCodeGenerator : System.Web.Razor.Text.LocationTagged<string> * System.Web.Razor.Text.LocationTagged<System.Web.Razor.Generator.SpanCodeGenerator> -> System.Web.Razor.Generator.LiteralAttributeCodeGenerator
Public Sub New (prefix As LocationTagged(Of String), valueGenerator As LocationTagged(Of SpanCodeGenerator))

Parametry

prefix
LocationTagged<String>

Prefiks atrybutu literału.

valueGenerator
LocationTagged<SpanCodeGenerator>

Generator wartości atrybutu literału.

Dotyczy