Exemplo n.º 1
0
 public CallbackActionFactory(CallbackActionService service)
 {
     _service = service;
 }
Exemplo n.º 2
0
 public CallbackAction(CallbackActionService service)
 {
     _service = service;
 }
 public static IServiceCollection RegisterTestAction(this IServiceCollection services, CallbackActionService callback)
 {
     services.AddSingleton(callback);
     services.RegisterCollectionRuleAction <CallbackActionFactory, object>(CallbackAction.ActionName);
     return(services);
 }