A lightweight IOC Container that is powerful enough to do all the things you need it to do.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
595 B

using Debug.LightweightIocContainer.FactoryGenerator.Samples.Interfaces;
namespace Debug.LightweightIocContainer.FactoryGenerator.Samples.Factories;
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;
void ClearMultitonInstance<T>() where T : ISampleClass;
}