cqrs.
This commit is contained in:
@@ -4,7 +4,7 @@ using System.Text;
|
||||
|
||||
namespace PoweredSoft.CQRS.Abstractions.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public class CommandNameAttribute : Attribute
|
||||
{
|
||||
public CommandNameAttribute(string name)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace PoweredSoft.CQRS.Abstractions.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public class QueryNameAttribute : Attribute
|
||||
{
|
||||
public QueryNameAttribute(string name)
|
||||
|
||||
Reference in New Issue
Block a user