Dispenser/DispenserCommon/Aop/AsyncOperation.cs

15 lines
293 B
C#
Raw Permalink Normal View History

2024-08-16 07:20:09 +00:00
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 = "";
}
}