- add methods to test more factory types

pull/62/head
Simon G. 3 days ago
parent 94c244a774
commit 79642012e6
Signed by: SimonG
GPG Key ID: 0B82B964BA536523
  1. 6
      Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs

@ -10,4 +10,10 @@ public interface ISampleClass;
public interface ISampleClassFactory
{
ISampleClass Create();
T Create<T>() where T : ISampleClass;
Task<ISampleClass> CreateAsync();
ISampleClass Create(string name);
T Create<T, U, V>(U param1, V param2) where T : ISampleClass where U : class, new() where V : struct;
Task<T> CreateAsync<T, U>(U parameter) where T : ISampleClass where U : class;
}
Loading…
Cancel
Save