예제 #1
0
        public static T Resolve <T>(Type type, string name)
        {
            ArgValidator.IsNotNull(type, "type");
            ArgValidator.IsNotEmpty(name, "name");

            return((T)_Container.Resolve(type, name));
        }
예제 #2
0
 public static T Resolve <T>(Type type)
 {
     ArgValidator.IsNotNull(type, "type");
     return((T)_Container.Resolve(type));
 }