z8018
2026-02-11 b8fb68b44c29e4667f6ea5746119413809a60a9e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
        }
    }
}