Class ServiceCollectionExtensions
Inheritance
System.Object
ServiceCollectionExtensions
Assembly: ImageVault.EPiServer.UI.dll
Syntax
public static class ServiceCollectionExtensions : Object
Methods
AddImageVault(IServiceCollection, IWebHostEnvironment, Action<ImageVaultOptimizelyCommonOptions>)
Declaration
public static IServiceCollection AddImageVault(this IServiceCollection services, IWebHostEnvironment webHostingEnvironment, Action<ImageVaultOptimizelyCommonOptions> configurationAction = null)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
services |
|
Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
webHostingEnvironment |
|
System.Action<ImageVaultOptimizelyCommonOptions> |
configurationAction |
Optional configuration action to perform configuration
|
Returns
Type |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
|
AddImageVaultIdentityProvider<TUser>(IServiceCollection)
Declaration
public static void AddImageVaultIdentityProvider<TUser>(this IServiceCollection services)
where TUser : IdentityUser, IUIUser, new()
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
services |
|
Type Parameters