ApplicationPartsServiceCollectionExtensions class
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Web
DI extension methods related to application part and type source
public static class ApplicationPartsServiceCollectionExtensions
Public Members
| name | description |
|---|---|
| static AddApplicationPartsFeatureToggles(…) | Adds IFeatureToggles service to the registry scanning for FeatureKeySetAttribute in application parts, setting disabled by default for features that has a [DefaultValue(false)] attribute. Note that this also calls AddMvcCore() to get the part manager if not provided, and is not found in the collection. |
| static AddApplicationPartsTypeSource(…) | Adds an application part type source to the service collection. Note that this also calls AddMvcCore() to get the part manager if not provided, and is not found in the collection. |