Class ContentProviderDependencyHelper
Internal class that provides a single access to all dependencies used by the abstract ContentProvider class.
Inheritance
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class ContentProviderDependencyHelper : Object
Constructors
ContentProviderDependencyHelper()
Initializes a new instance of the ContentProviderDependencyHelper class. Provided for Unit testing purpouses.
Declaration
public ContentProviderDependencyHelper()
ContentProviderDependencyHelper(IContentFactory, ServiceAccessor<IContentTypeRepository>, IUrlSegmentLocator, IUrlSegmentGenerator, IUrlSegmentCreator, ILanguageBranchRepository, IContentCopyHandler, IContextValidationService, IContentCacheKeyCreator, ISynchronizedObjectInstanceCache, ServiceAccessor<IContentCoreDataLoader>, IVirtualPathResolver, ContentOptions, IPerformanceCounter, IRequestHostResolver, IContentInstanceCache)
Initializes a new instance of the ContentProviderDependencyHelper class.
Declaration
public ContentProviderDependencyHelper(IContentFactory contentFactory, ServiceAccessor<IContentTypeRepository> contentTypeRepository, IUrlSegmentLocator urlSegmentLocator, IUrlSegmentGenerator urlSegmentGenerator, IUrlSegmentCreator urlSegmentCreator, ILanguageBranchRepository languageBranchRepository, IContentCopyHandler contentCopyHandler, IContextValidationService validationService, IContentCacheKeyCreator contentCacheKeyCreator, ISynchronizedObjectInstanceCache cacheInstance, ServiceAccessor<IContentCoreDataLoader> contentCoreDataLoader, IVirtualPathResolver virtualPathResolver, ContentOptions options, IPerformanceCounter performanceCounter, IRequestHostResolver requestHostResolver, IContentInstanceCache contentCache)
Parameters
Type | Name | Description |
---|---|---|
IContentFactory | contentFactory | |
ServiceAccessor<IContentTypeRepository> | contentTypeRepository | |
IUrlSegmentLocator | urlSegmentLocator | |
IUrlSegmentGenerator | urlSegmentGenerator | |
IUrlSegmentCreator | urlSegmentCreator | |
ILanguageBranchRepository | languageBranchRepository | |
IContentCopyHandler | contentCopyHandler | |
IContextValidationService | validationService | |
IContentCacheKeyCreator | contentCacheKeyCreator | |
ISynchronizedObjectInstanceCache | cacheInstance | |
ServiceAccessor<IContentCoreDataLoader> | contentCoreDataLoader | |
IVirtualPathResolver | virtualPathResolver | |
ContentOptions | options | |
IPerformanceCounter | performanceCounter | |
IRequestHostResolver | requestHostResolver | |
IContentInstanceCache | contentCache |
Remarks
Do not call this constructor from production code as it may change between versions. If required, request an instance from the service container.
Properties
CacheInstance
Gets or sets the ISynchronizedObjectInstanceCache dependency.
Declaration
public virtual ISynchronizedObjectInstanceCache CacheInstance { get; set; }
Property Value
Type | Description |
---|---|
ISynchronizedObjectInstanceCache |
ContentCache
Gets or sets the ContentInstanceCache dependency.
Declaration
public virtual IContentInstanceCache ContentCache { get; set; }
Property Value
Type | Description |
---|---|
IContentInstanceCache |
ContentCacheKeyCreator
Gets or sets the IContentCacheKeyCreator dependency.
Declaration
public virtual IContentCacheKeyCreator ContentCacheKeyCreator { get; set; }
Property Value
Type | Description |
---|---|
IContentCacheKeyCreator |
ContentCopyHandler
Gets or sets the IContentCopyHandler dependency.
Declaration
public virtual IContentCopyHandler ContentCopyHandler { get; set; }
Property Value
Type | Description |
---|---|
IContentCopyHandler |
ContentCoreDataLoader
Gets or sets the IContentCoreDataLoader dependency.
Declaration
public virtual ServiceAccessor<IContentCoreDataLoader> ContentCoreDataLoader { get; set; }
Property Value
Type | Description |
---|---|
ServiceAccessor<IContentCoreDataLoader> |
ContentFactory
Gets or sets the IContentFactory dependency.
Declaration
public virtual IContentFactory ContentFactory { get; set; }
Property Value
Type | Description |
---|---|
IContentFactory |
ContentTypeRepository
Gets or sets the IContentTypeRepository dependency.
Declaration
public virtual ServiceAccessor<IContentTypeRepository> ContentTypeRepository { get; set; }
Property Value
Type | Description |
---|---|
ServiceAccessor<IContentTypeRepository> |
LanguageBranchRepository
Gets or sets the ILanguageBranchRepository dependency.
Declaration
public virtual ILanguageBranchRepository LanguageBranchRepository { get; set; }
Property Value
Type | Description |
---|---|
ILanguageBranchRepository |
Options
Gets or sets the ContentOptions dependency.
Declaration
public virtual ContentOptions Options { get; set; }
Property Value
Type | Description |
---|---|
ContentOptions |
PerformanceCounter
Declaration
public virtual IPerformanceCounter PerformanceCounter { get; set; }
Property Value
Type | Description |
---|---|
IPerformanceCounter |
RequestHostResolver
Gets or sets the IRequestHostResolver dependency.
Declaration
public virtual IRequestHostResolver RequestHostResolver { get; set; }
Property Value
Type | Description |
---|---|
IRequestHostResolver |
UrlSegmentCreator
Gets or sets the IUrlSegmentLocator dependency.
Declaration
public virtual IUrlSegmentCreator UrlSegmentCreator { get; set; }
Property Value
Type | Description |
---|---|
IUrlSegmentCreator |
UrlSegmentGenerator
Gets or sets the IUrlSegmentGenerator dependency.
Declaration
public virtual IUrlSegmentGenerator UrlSegmentGenerator { get; set; }
Property Value
Type | Description |
---|---|
IUrlSegmentGenerator |
UrlSegmentLocator
Gets or sets the IUrlSegmentLocator dependency.
Declaration
public virtual IUrlSegmentLocator UrlSegmentLocator { get; set; }
Property Value
Type | Description |
---|---|
IUrlSegmentLocator |
ValidationService
Gets or sets the IValidationService dependency.
Declaration
public virtual IContextValidationService ValidationService { get; set; }
Property Value
Type | Description |
---|---|
IContextValidationService |
VirtualPathResolver
Gets or sets the IVirtualPathResolver dependency.
Declaration
public virtual IVirtualPathResolver VirtualPathResolver { get; set; }
Property Value
Type | Description |
---|---|
IVirtualPathResolver |