2 instantiations of CorsService
Microsoft.AspNetCore.Cors.Test (2)
CorsMiddlewareTests.cs (1)
641
var corsService = new
CorsService
(Options.Create(new CorsOptions()), NullLoggerFactory.Instance);
CorsServiceTests.cs (1)
940
return new
CorsService
(Options.Create(options), NullLoggerFactory.Instance);
53 references to CorsService
Microsoft.AspNetCore.Cors (3)
CorsServiceCollectionExtensions.cs (1)
25
services.TryAdd(ServiceDescriptor.Transient<ICorsService,
CorsService
>());
Infrastructure\CorsService.cs (2)
23
/// Creates a new instance of the <see cref="
CorsService
"/>.
33
_logger = loggerFactory.CreateLogger<
CorsService
>();
Microsoft.AspNetCore.Cors.Test (50)
CorsMiddlewareTests.cs (1)
641
var
corsService = new CorsService(Options.Create(new CorsOptions()), NullLoggerFactory.Instance);
CorsServiceTests.cs (49)
17
var
corsService = GetCorsService();
36
var
corsService = GetCorsService();
51
var
corsService = GetCorsService();
67
var
corsService = GetCorsService();
82
var
corsService = GetCorsService();
101
var
corsService = GetCorsService();
122
var
corsService = GetCorsService();
138
var
corsService = GetCorsService();
157
var
corsService = GetCorsService();
176
var
corsService = GetCorsService();
193
var
corsService = GetCorsService();
210
var
corsService = GetCorsService();
228
var
corsService = GetCorsService();
245
var
corsService = GetCorsService();
261
var
corsService = GetCorsService();
278
var
corsService = GetCorsService();
297
var
corsService = GetCorsService();
314
var
corsService = GetCorsService();
334
var
corsService = GetCorsService();
355
var
corsService = GetCorsService();
377
var
corsService = GetCorsService();
397
var
corsService = GetCorsService();
417
var
corsService = GetCorsService();
437
var
corsService = GetCorsService();
456
var
corsService = GetCorsService();
477
var
corsService = GetCorsService();
496
var
corsService = GetCorsService();
519
var
corsService = GetCorsService();
543
var
corsService = GetCorsService();
567
var
service = GetCorsService();
587
var
service = GetCorsService();
607
var
service = GetCorsService();
626
var
service = GetCorsService();
647
var
service = GetCorsService();
668
var
service = GetCorsService();
688
var
service = GetCorsService();
708
var
service = GetCorsService();
729
var
service = GetCorsService();
749
var
service = GetCorsService();
770
var
service = GetCorsService();
790
var
service = GetCorsService();
811
var
service = GetCorsService();
832
var
service = GetCorsService();
852
var
service = GetCorsService();
873
var
service = GetCorsService();
893
var
service = GetCorsService();
906
var
corsService = GetCorsService();
924
var
corsService = GetCorsService();
937
private static
CorsService
GetCorsService(CorsOptions options = null)