public BindingConditionSetter ToSingleMethod <TConcrete>(string singletonIdentifier, Func <DiContainer, TConcrete> method) where TConcrete : TContract { return(ToProvider(_singletonMap.CreateProviderFromMethod(singletonIdentifier, method))); }
public BindingConditionSetter ToSingleMethod <TConcrete>(Func <DiContainer, TConcrete> method, string identifier) { return(ToProvider(_singletonMap.CreateProviderFromMethod(identifier, method))); }
protected BindingConditionSetter ToSingleMethodBase <TConcrete>(string concreteIdentifier, Func <InjectContext, TConcrete> method) { return(ToProvider(_singletonMap.CreateProviderFromMethod(concreteIdentifier, method))); }
public BindingConditionSetter ToSingleMethod <TConcrete>(string concreteIdentifier, Func <InjectContext, TConcrete> method) where TConcrete : TContract { return(ToProvider(_singletonMap.CreateProviderFromMethod(concreteIdentifier, method))); }