Пример #1
0
 /// <summary>
 /// Create a new instance of a type
 /// </summary>
 public static T Create <T>(this IDependencyContainer container) where T : class
 {
     Check.ArgumentNotNull(container, "container");
     return((T)container.Create(typeof(T)));
 }