Add project files.

This commit is contained in:
David Lebee
2021-02-01 23:31:07 -05:00
parent 4d8f170812
commit c61ebca4b6
16 changed files with 353 additions and 0 deletions
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace PoweredSoft.CQRS.Abstractions.Attributes
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class CommandNameAttribute : Attribute
{
public CommandNameAttribute(string name)
{
Name = name;
}
public string Name { get; }
}
}
@@ -0,0 +1,15 @@
using System;
namespace PoweredSoft.CQRS.Abstractions.Attributes
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class QueryNameAttribute : Attribute
{
public QueryNameAttribute(string name)
{
Name = name;
}
public string Name { get; }
}
}