[Service(Lifetime.Scoped)] public class Test<T>:ITest { public void OutPut() { Console.WriteLine("111"); } }
System.ArgumentException:“Cannot instantiate implementation type 'TestAutoWared.Service.Test`1[T]' for service type 'TestAutoWared.Service.ITest'.”
[Service(Lifetime.Scoped)] public class Test<T>:ITest { public void OutPut() { Console.WriteLine("111"); } }
System.ArgumentException:“Cannot instantiate implementation type 'TestAutoWared.Service.Test`1[T]' for service type 'TestAutoWared.Service.ITest'.”