dotnet-cqrs/Svrnty.CQRS.Abstractions/Attributes/QueryNameAttribute.cs

16 lines
284 B
C#

using System;
namespace Svrnty.CQRS.Abstractions.Attributes;
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class QueryNameAttribute : Attribute
{
public QueryNameAttribute(string name)
{
Name = name;
}
public string Name { get; }
}