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

16 lines
288 B
C#
Raw Normal View History

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