public static InjectorFluent <T> SetResolver <T>(ConstructorInfo constructor) where T : class { InternalResolver <T> .SetResolver(constructor); return(new InjectorFluent <T>()); }
public static InjectorFluent <T> SetResolver <T>(Expression <Func <T> > factoryExpression) where T : class { InternalResolver <T> .SetResolver(factoryExpression); return(new InjectorFluent <T>()); }
public static InjectorFluent <T> SetResolver <T, TConcreteType>() where T : class where TConcreteType : class, T { InternalResolver <T> .SetResolver(() => InternalResolver <TConcreteType> .Resolve()); return(new InjectorFluent <T>()); }