port from perforce
This commit is contained in:
14
aiwaz/Aiwaz.Demo/IObjectFactory.cs
Normal file
14
aiwaz/Aiwaz.Demo/IObjectFactory.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
namespace Aiwaz.Demo
|
||||
{
|
||||
interface IObjectFactory
|
||||
{
|
||||
T CreateInstance<T>(params object[] args);
|
||||
T CreateNamedInstance<T>(string argName, params object[] args);
|
||||
T FindNamedInstance<T>(string argName);
|
||||
|
||||
void RegisterPattern<O>();
|
||||
void RegisterPattern<I, O>();
|
||||
void RemoveNamedInstance<T>(string argName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user