File: Language\TagHelperAttributeInfo.cs
Web Access
Project: src\src\roslyn\src\Razor\src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Microsoft.CodeAnalysis.Razor.Compiler.csproj (Microsoft.CodeAnalysis.Razor.Compiler)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#nullable disable

namespace Microsoft.AspNetCore.Razor.Language;

internal class TagHelperAttributeInfo
{
    public TagHelperAttributeInfo(
        string name,
        string parameterName,
        AttributeStructure attributeStructure,
        bool bound,
        bool isDirectiveAttribute)
    {
        Name = name;
        ParameterName = parameterName;
        AttributeStructure = attributeStructure;
        Bound = bound;
        IsDirectiveAttribute = isDirectiveAttribute;
    }

    public string Name { get; }

    public string ParameterName { get; }

    public AttributeStructure AttributeStructure { get; }

    public bool Bound { get; }

    public bool IsDirectiveAttribute { get; }
}