Exemplo n.º 1
0
 private static ITypesafeActivationOptions <object> CreateActivator(IPickBindingTarget <object> target, ServiceDescriptor service) =>
 service switch
 {
 public static IActivationOptions <T> ToFactory <T>(this IPickBindingTarget <T> target) =>
 target.DoBinding(new GenerateFactoryStrategy(typeof(T)));