8 references to AddService
ApiExplorerWebSite (1)
Startup.cs (1)
18options.Filters.AddService(typeof(ApiExplorerDataFilter));
Microsoft.AspNetCore.Mvc.Core (5)
Filters\FilterCollection.cs (5)
22/// Use <see cref="AddService(Type)"/> to register a service as a filter. 38/// Use <see cref="AddService(Type)"/> to register a service as a filter. 57/// Use <see cref="AddService(Type)"/> to register a service as a filter. 73/// Use <see cref="AddService(Type)"/> to register a service as a filter. 105return AddService(typeof(TFilterType));
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\FilterCollectionTest.cs (2)
88var added = collection.AddService(typeof(MyFilter)); 147() => { collection.AddService(typeof(NonFilter)); },