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

18 lines
406 B
C#

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