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

18 lines
406 B
C#
Raw Normal View History

2021-02-01 23:31:07 -05:00
using System;
using System.Collections.Generic;
using System.Text;
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 CommandNameAttribute : Attribute
{
public CommandNameAttribute(string name)
{
Name = name;
}
public string Name { get; }
}
}