15 lines
293 B
C#
15 lines
293 B
C#
|
using AspectInjector.Broker;
|
||
|
|
||
|
namespace DispenserCommon.Aop;
|
||
|
|
||
|
[Aspect(Scope.Global)]
|
||
|
[Injection(typeof(AsyncOperation))]
|
||
|
public class AsyncOperation(string name) : Attribute
|
||
|
{
|
||
|
public string Name { get; set; } = name;
|
||
|
|
||
|
public AsyncOperation() : this("")
|
||
|
{
|
||
|
Name = "";
|
||
|
}
|
||
|
}
|