LiteralAttributeChunkGenerator Class¶
- Namespace
Microsoft.AspNetCore.Razor.Chunks.Generators- Assemblies
- Microsoft.AspNetCore.Razor
Syntax¶
public class LiteralAttributeChunkGenerator : SpanChunkGenerator, ISpanChunkGenerator
-
class
Microsoft.AspNetCore.Razor.Chunks.Generators.LiteralAttributeChunkGenerator
Constructors¶
-
LiteralAttributeChunkGenerator(Microsoft.AspNetCore.Razor.Text.LocationTagged<System.String>, Microsoft.AspNetCore.Razor.Text.LocationTagged<Microsoft.AspNetCore.Razor.Chunks.Generators.SpanChunkGenerator>)¶ public LiteralAttributeChunkGenerator(LocationTagged<string> prefix, LocationTagged<SpanChunkGenerator> valueGenerator)
-
LiteralAttributeChunkGenerator(Microsoft.AspNetCore.Razor.Text.LocationTagged<System.String>, Microsoft.AspNetCore.Razor.Text.LocationTagged<System.String>) public LiteralAttributeChunkGenerator(LocationTagged<string> prefix, LocationTagged<string> value)
-
Methods¶
-
Equals(System.Object)¶ Return type: System.Boolean public override bool Equals(object obj)
-
GenerateChunk(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Span, Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)¶ public override void GenerateChunk(Span target, ChunkGeneratorContext context)
-
GetHashCode()¶ Return type: System.Int32 public override int GetHashCode()
-
ToString()¶ Return type: System.String public override string ToString()
-
Properties¶
-
Microsoft.AspNetCore.Razor.Chunks.Generators.LiteralAttributeChunkGenerator.Prefix¶ Return type: Microsoft.AspNetCore.Razor.Text.LocationTagged<System.String> public LocationTagged<string> Prefix { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.LiteralAttributeChunkGenerator.Value¶ Return type: Microsoft.AspNetCore.Razor.Text.LocationTagged<System.String> public LocationTagged<string> Value { get; }
-
Microsoft.AspNetCore.Razor.Chunks.Generators.LiteralAttributeChunkGenerator.ValueGenerator¶ Return type: Microsoft.AspNetCore.Razor.Text.LocationTagged<Microsoft.AspNetCore.Razor.Chunks.Generators.SpanChunkGenerator> public LocationTagged<SpanChunkGenerator> ValueGenerator { get; }
-