from method
Implementation
ResolvingContext<CustomFactory<T, TArgs>> from(
T Function(TArgs) factory,
) {
return this.toResolver(
new CustomFactoryResolver<T, TArgs>((args) => factory(args)));
}
ResolvingContext<CustomFactory<T, TArgs>> from(
T Function(TArgs) factory,
) {
return this.toResolver(
new CustomFactoryResolver<T, TArgs>((args) => factory(args)));
}