public AcceptJSOptions(AcceptJSConfiguration acceptJSConfiguration)
 {
     AcceptJSConfiguration = acceptJSConfiguration;
 }
Exemple #2
0
 public static IServiceCollection RegisterAcceptJS(this IServiceCollection services, AcceptJSConfiguration options)
 {
     services.AddSingleton <IAcceptJSOptions>(new AcceptJSOptions(options));
     return(services);
 }