DataProtectionServices Class¶
Provides access to default Data Protection Microsoft.Extensions.DependencyInjection.ServiceDescriptor
instances.
- Namespace
Microsoft.Extensions.DependencyInjection
- Assemblies
- Microsoft.AspNetCore.DataProtection
Syntax¶
public class DataProtectionServices
-
class
Microsoft.Extensions.DependencyInjection.
DataProtectionServices
Methods¶
-
GetDefaultServices
()¶ Returns a collection of default
Microsoft.Extensions.DependencyInjection.ServiceDescriptor
instances that can be used to bootstrap the Data Protection system.Return type: System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor> public static IEnumerable<ServiceDescriptor> GetDefaultServices()
-