using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using KH.WMS.Core.Attributes; using KH.WMS.Core.DependencyInjection.ServiceLifetimes; using Microsoft.Extensions.DependencyInjection; namespace KH.WMS.TestProj { [SelfRegisteredService(Lifetime = ServiceLifetime.Scoped)] public class TestOneService { [LogInterceptor(LogParameters = true, LogReturnValue = true, LogLevel = Microsoft.Extensions.Logging.LogLevel.Information)] public virtual object GetTestObject() { Thread.Sleep(1000 * 2); return GetType().FullName ?? string.Empty; } } }