1 write to ServiceType
Microsoft.AspNetCore.Mvc.Core (1)
ServiceFilterAttribute.cs (1)
32
ServiceType
= type ?? throw new ArgumentNullException(nameof(type));
3 references to ServiceType
Microsoft.AspNetCore.Mvc.Core (1)
ServiceFilterAttribute.cs (1)
51
var filter = (IFilterMetadata)serviceProvider.GetRequiredService(
ServiceType
);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\FilterCollectionTest.cs (2)
92
Assert.Equal(typeof(MyFilter), serviceFilter.
ServiceType
);
107
Assert.Equal(typeof(MyFilter), serviceFilter.
ServiceType
);