public CreateInstance ( |
||
type | ||
Résultat | Object |
public Object CreateInstance(Type type)
{
if (!_instances.ContainsKey(type))
{
var factory = _configuration.Factory;
_instances.Add(type, factory(type));
}
return _instances[type];
}