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 TestTwoService { [LogInterceptor(LogParameters = true, LogReturnValue = true, LogLevel = Microsoft.Extensions.Logging.LogLevel.Information)] public virtual object GetTestObject() { return GetType().FullName ?? string.Empty; } } }