|
|
|
@ -12,5 +12,10 @@ public interface ISampleClassFactory |
|
|
|
T Create<T, U, V>(U param1, V param2) where T : ISampleClass where U : class, new() where V : struct; |
|
|
|
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; |
|
|
|
Task<T> CreateAsync<T, U>(U parameter) where T : ISampleClass where U : class; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ISampleClass Create<T>(Task<T> task) where T : Task<ISampleClass>; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Task<T?> Create<T>(ISampleClass? sampleClass) where T : class, ISampleClass; |
|
|
|
|
|
|
|
ISampleClass? Create(int id); |
|
|
|
|
|
|
|
|
|
|
|
void ClearMultitonInstance<T>() where T : ISampleClass; |
|
|
|
void ClearMultitonInstance<T>() where T : ISampleClass; |
|
|
|
} |
|
|
|
} |