InjectParameterGenerator Class

Namespace
Microsoft.AspNetCore.Mvc.Razor
Assemblies
  • Microsoft.AspNetCore.Mvc.Razor.Host

Syntax

public class InjectParameterGenerator : SpanChunkGenerator, ISpanChunkGenerator
class Microsoft.AspNetCore.Mvc.Razor.InjectParameterGenerator

Constructors

InjectParameterGenerator(System.String, System.String)
public InjectParameterGenerator(string typeName, string propertyName)

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.Mvc.Razor.InjectParameterGenerator.PropertyName
Return type:System.String
public string PropertyName { get; }
Microsoft.AspNetCore.Mvc.Razor.InjectParameterGenerator.TypeName
Return type:System.String
public string TypeName { get; }