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