using System;

// ReSharper disable UnusedAutoPropertyAccessor.Global

namespace NodePipeline.Abstractions.Attributes;

/// <summary>
///     Attribute that overrides node type.
///     In other case C# type except user specified prefix will be used
/// </summary>
/// <param name="type">User specified node type</param>
[AttributeUsage(AttributeTargets.Class)]
public sealed class NodeTypeAttribute(string type) : Attribute
{
    /// <summary>
    ///     Node type
    /// </summary>
    public string Type { get; } = type;
}