November Happy Hour will be moved to Thursday December 5th.

Class ContentProviderDependencyHelper

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Internal class that provides a single access to all dependencies used by the abstract ContentProvider class.

Inheritance
System.Object
ContentProviderDependencyHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(Lifecycle = ServiceInstanceScope.Singleton)]
public class ContentProviderDependencyHelper

Constructors

ContentProviderDependencyHelper()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)
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
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

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the ISynchronizedObjectInstanceCache dependency.

Declaration
public virtual ISynchronizedObjectInstanceCache CacheInstance { get; set; }
Property Value
Type Description
ISynchronizedObjectInstanceCache

ContentCacheKeyCreator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IContentCacheKeyCreator dependency.

Declaration
public virtual IContentCacheKeyCreator ContentCacheKeyCreator { get; set; }
Property Value
Type Description
IContentCacheKeyCreator

ContentCopyHandler

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IContentCopyHandler dependency.

Declaration
public virtual IContentCopyHandler ContentCopyHandler { get; set; }
Property Value
Type Description
IContentCopyHandler

ContentCoreDataLoader

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IContentCoreDataLoader dependency.

Declaration
public virtual ServiceAccessor<IContentCoreDataLoader> ContentCoreDataLoader { get; set; }
Property Value
Type Description
ServiceAccessor<IContentCoreDataLoader>

ContentFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IContentFactory dependency.

Declaration
public virtual IContentFactory ContentFactory { get; set; }
Property Value
Type Description
IContentFactory

ContentTypeRepository

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IContentTypeRepository dependency.

Declaration
public virtual ServiceAccessor<IContentTypeRepository> ContentTypeRepository { get; set; }
Property Value
Type Description
ServiceAccessor<IContentTypeRepository>

LanguageBranchRepository

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the ILanguageBranchRepository dependency.

Declaration
public virtual ILanguageBranchRepository LanguageBranchRepository { get; set; }
Property Value
Type Description
ILanguageBranchRepository

Options

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IRequestHostResolver dependency.

Declaration
public virtual IRequestHostResolver RequestHostResolver { get; set; }
Property Value
Type Description
IRequestHostResolver

UrlSegmentCreator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IUrlSegmentLocator dependency.

Declaration
public virtual IUrlSegmentCreator UrlSegmentCreator { get; set; }
Property Value
Type Description
IUrlSegmentCreator

UrlSegmentGenerator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IUrlSegmentGenerator dependency.

Declaration
public virtual IUrlSegmentGenerator UrlSegmentGenerator { get; set; }
Property Value
Type Description
IUrlSegmentGenerator

UrlSegmentLocator

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IUrlSegmentLocator dependency.

Declaration
public virtual IUrlSegmentLocator UrlSegmentLocator { get; set; }
Property Value
Type Description
IUrlSegmentLocator

ValidationService

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IValidationService dependency.

Declaration
public virtual IContextValidationService ValidationService { get; set; }
Property Value
Type Description
IContextValidationService

VirtualPathResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the IVirtualPathResolver dependency.

Declaration
public virtual IVirtualPathResolver VirtualPathResolver { get; set; }
Property Value
Type Description
IVirtualPathResolver

Extension Methods