ServiceMergeDescriptors Method |
Merges registered services (descriptors) that were registered through
RegisterImplementationAttribute or one of 'CMS.Core.Service.Use' methods to the
serviceDescriptors collection.
After the merge the services are ordered in the ascending order by their priority.
Firstly, services registered with the Fallback priority, then services from
serviceDescriptors, then services with the
SystemDefault priority and then with the Default priority.
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 13.0.131
Syntax public static void MergeDescriptors(
IServiceCollection serviceDescriptors
)
Parameters
- serviceDescriptors
- Type: IServiceCollection
Collection of service descriptors to be merged with service descriptors collected via Kentico API.
See Also