Example #1
0
 public static T Get <T>()
 {
     Registrar.EnsureDependenciesRegistered();
     return(ObjectFactory.GetInstance <T>());
 }
Example #2
0
 public static object Get(Type type)
 {
     Registrar.EnsureDependenciesRegistered();
     return(ObjectFactory.GetInstance(type));
 }