Add foundation
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public interface IFactory<TParameter, TService>
|
||||
{
|
||||
TService? Create(TParameter value);
|
||||
}
|
||||
|
||||
|
||||
public interface IFactory<TService>
|
||||
{
|
||||
TService? Create();
|
||||
}
|
||||
Reference in New Issue
Block a user