Class ContentEventHandler
Acts on events in Optimizely
Inheritance
System.Object
ContentEventHandler
Namespace: ImageVault.EPiServer
Assembly: ImageVault.EPiServer.dll
Syntax
public class ContentEventHandler : Object
Constructors
ContentEventHandler(IContentEvents, ILogger<ContentEventHandler>, IContentRepository, IContentTypeRepository, PropertySettingsResolver, IPropertySettingsRepository, ContentTypeModelRepository, IClientFactory, IOptions<ImageVaultClientOptions>, IOptions<ImageVaultOptimizelyCommonOptions>)
Declaration
public ContentEventHandler(IContentEvents events, ILogger<ContentEventHandler> logger, IContentRepository contentRepository, IContentTypeRepository contentTypeRepository, PropertySettingsResolver propertySettingsResolver, IPropertySettingsRepository propertySettingsRepository, ContentTypeModelRepository contentTypeModelRepository, IClientFactory clientFactory, IOptions<ImageVaultClientOptions> clientOptions, IOptions<ImageVaultOptimizelyCommonOptions> optimizelyCommonOptions)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Core.IContentEvents | events | |
Microsoft.Extensions.Logging.ILogger<ContentEventHandler> | logger | |
EPiServer.IContentRepository | contentRepository | |
EPiServer.DataAbstraction.IContentTypeRepository | contentTypeRepository | |
EPiServer.Core.PropertySettings.PropertySettingsResolver | propertySettingsResolver | |
EPiServer.Core.PropertySettings.IPropertySettingsRepository | propertySettingsRepository | |
EPiServer.DataAbstraction.ContentTypeModelRepository | contentTypeModelRepository | |
IClientFactory | clientFactory | |
Microsoft.Extensions.Options.IOptions<ImageVaultClientOptions> | clientOptions | |
Microsoft.Extensions.Options.IOptions<ImageVaultOptimizelyCommonOptions> | optimizelyCommonOptions |
Methods
RegisterEventHandlers()
Declaration
public void RegisterEventHandlers()