Пример #1
0
 protected override void SetBootstrapperCreationOptions(BootstrapperCreationOptions options)
 {
     base.SetBootstrapperCreationOptions(options);
     options.UseAspectCore();
 }
Пример #2
0
 protected override void SetBootstrapperCreationOptions(BootstrapperCreationOptions options) => options.UseAspectCore();
Пример #3
0
 protected override void SetBootstrapperCreationOptions(BootstrapperCreationOptions options)
 {
     options.UseAspectCore();
     options.ConfigureServices(c => c.Services.AddTransient <IAuthorizeAttributeTestService, AuthorizeAttributeTestService>());
     base.SetBootstrapperCreationOptions(options);
 }