18 lines
574 B
C#
18 lines
574 B
C#
using System;
|
|
using NodePipeline.Abstractions.Interfaces.Validation;
|
|
|
|
// ReSharper disable UnusedParameter.Local
|
|
|
|
namespace NodePipeline.Abstractions.Attributes.Validation.Node;
|
|
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
|
public sealed class HasNodeValidatorAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Indicates that node should use specified <see cref="INodeValidator" />
|
|
/// </summary>
|
|
/// <param name="validatorType">Type of <see cref="INodeValidator" /></param>
|
|
public HasNodeValidatorAttribute(Type validatorType)
|
|
{
|
|
}
|
|
} |