Example #1
0
 public static T Resolve <T>(string name, object values)
 {
     return(ContainerAccessor.Container().Resolve <T>(ContainerAccessor.GetParameters(values)));
 }
Example #2
0
 public static T Resolve <T>(string name, ExpandoObject values)
 {
     return(ContainerAccessor.Container().ResolveNamed <T>(name, ContainerAccessor.GetParameters(values)));
 }
Example #3
0
 public static T Resolve <T>(string name)
 {
     return(ContainerAccessor.Container().ResolveNamed <T>(name));
 }
Example #4
0
 public static T Resolve <T>(ExpandoObject values)
 {
     return(ContainerAccessor.Container().Resolve <T>(ContainerAccessor.GetParameters(values)));
 }
Example #5
0
 public static object Resolve(Type type)
 {
     return(ContainerAccessor.Container().Resolve(type));
 }
Example #6
0
 public static T Resolve <T>()
 {
     return(ContainerAccessor.Container().Resolve <T>());
 }