2021-02-01 23:31:07 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace PoweredSoft.CQRS.Abstractions.Attributes
|
|
|
|
|
{
|
2023-10-02 11:25:45 -04:00
|
|
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
2021-02-01 23:31:07 -05:00
|
|
|
|
public class CommandNameAttribute : Attribute
|
|
|
|
|
{
|
|
|
|
|
public CommandNameAttribute(string name)
|
|
|
|
|
{
|
|
|
|
|
Name = name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Name { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|