GeneratedTagHelperAttributeContext Class

Contains information for the Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper attribute code generation process.

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

Syntax

public class GeneratedTagHelperAttributeContext
class Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext

Properties

Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext.CreateModelExpressionMethodName

Name the method to create <code>ModelExpression</code>s.

Return type:System.String
public string CreateModelExpressionMethodName { get; set; }
Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext.ModelExpressionProviderPropertyName

Gets or sets the name of the <code>IModelExpressionProvider</code>.

Return type:System.String
public string ModelExpressionProviderPropertyName { get; set; }
Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext.ModelExpressionTypeName

Name of the model expression type.

Return type:System.String
public string ModelExpressionTypeName { get; set; }
Microsoft.AspNetCore.Mvc.Razor.GeneratedTagHelperAttributeContext.ViewDataPropertyName

Gets or sets the property name of the <code>ViewDataDictionary</code>.

Return type:System.String
public string ViewDataPropertyName { get; set; }