diff --git a/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs b/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs index 57ee8cf..7b4b4f7 100644 --- a/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs +++ b/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs @@ -10,4 +10,10 @@ public interface ISampleClass; public interface ISampleClassFactory { ISampleClass Create(); + T Create() where T : ISampleClass; + Task CreateAsync(); + + ISampleClass Create(string name); + T Create(U param1, V param2) where T : ISampleClass where U : class, new() where V : struct; + Task CreateAsync(U parameter) where T : ISampleClass where U : class; } \ No newline at end of file