1 write to _services
Microsoft.AspNetCore.HeaderParsing.Tests (1)
HeaderRegistryTests.cs (1)
21
_services
= new ServiceCollection();
7 references to _services
Microsoft.AspNetCore.HeaderParsing.Tests (7)
HeaderRegistryTests.cs (7)
27
var registry = new HeaderRegistry(
_services
.BuildServiceProvider(), _options);
44
var registry = new HeaderRegistry(
_services
.BuildServiceProvider(), _options);
59
var registry = new HeaderRegistry(
_services
.BuildServiceProvider(), _options);
67
var registry = new HeaderRegistry(
_services
.BuildServiceProvider(), _options);
81
var registry = new HeaderRegistry(
_services
.BuildServiceProvider(), _options);
92
_services
.AddSingleton(DateTimeOffsetParser.Instance);
94
var registry = new HeaderRegistry(
_services
.BuildServiceProvider(), _options);