File: ComponentsApi.cs
Web Access
Project: src\src\aspnetcore\src\Components\Analyzers\src\Microsoft.AspNetCore.Components.Analyzers.csproj (Microsoft.AspNetCore.Components.Analyzers)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Microsoft.AspNetCore.Components.Analyzers;

// Constants for type and method names used in code-generation
// Keep these in sync with the actual definitions
internal static class ComponentsApi
{
    public const string AssemblyName = "Microsoft.AspNetCore.Components";

    public static class ParameterAttribute
    {
        public const string FullTypeName = "Microsoft.AspNetCore.Components.ParameterAttribute";
        public const string MetadataName = FullTypeName;

        public const string CaptureUnmatchedValues = "CaptureUnmatchedValues";
    }

    public static class CascadingParameterAttribute
    {
        public const string FullTypeName = "Microsoft.AspNetCore.Components.CascadingParameterAttribute";
        public const string MetadataName = FullTypeName;
    }

    public static class SupplyParameterFromFormAttribute
    {
        public const string FullTypeName = "Microsoft.AspNetCore.Components.SupplyParameterFromFormAttribute";
        public const string MetadataName = FullTypeName;
    }

    public static class ComponentBase
    {
        public const string FullTypeName = "Microsoft.AspNetCore.Components.ComponentBase";
        public const string MetadataName = FullTypeName;
    }

    public static class PersistentStateAttribute
    {
        public const string FullTypeName = "Microsoft.AspNetCore.Components.PersistentStateAttribute";
        public const string MetadataName = FullTypeName;
    }

    public static class IComponent
    {
        public const string FullTypeName = "Microsoft.AspNetCore.Components.IComponent";
        public const string MetadataName = FullTypeName;
    }
}