/// <summary> /// Inline dependency by simple Lambda expression /// </summary> /// <param name="func"></param> /// <returns></returns> public ConstructorInstance Is(Func <IContainer, TChild> func) { var child = LambdaInstance.For(func); return(Is(child)); }
/// <summary> /// Inline dependency by simple Lambda expression /// </summary> /// <param name="func"></param> /// <returns></returns> public ConstructorInstance Is(Func <IServiceContext, TChild> func) { var child = LambdaInstance.For(func); return(Is(child)); }