dotnet-cqrs/PoweredSoft.CQRS.Abstractions/Attributes/QueryNameAttribute.cs
David Lebee 20df5ce79d cqrs.
2021-02-02 12:19:59 -05:00

16 lines
349 B
C#

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