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

15 lines
291 B
C#
Raw Normal View History

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