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

16 lines
349 B
C#
Raw Normal View History

2021-02-01 23:31:07 -05:00
using System;
namespace PoweredSoft.CQRS.Abstractions.Attributes
{
2021-02-02 12:19:59 -05:00
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
2021-02-01 23:31:07 -05:00
public class QueryNameAttribute : Attribute
{
public QueryNameAttribute(string name)
{
Name = name;
}
public string Name { get; }
}
}