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: 9.12.2
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>, UrlSegmentHandler, ILanguageBranchRepository, IContentCopyHandler, IContextValidationService, IContentCacheKeyCreator, ISynchronizedObjectInstanceCache, ServiceAccessor<IContentCoreDataLoader>, IVirtualPathResolver, TemplateResolver)

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, UrlSegmentHandler urlSegmentHandler, ILanguageBranchRepository languageBranchRepository, IContentCopyHandler contentCopyHandler, IContextValidationService validationService, IContentCacheKeyCreator contentCacheKeyCreator, ISynchronizedObjectInstanceCache cacheInstance, ServiceAccessor<IContentCoreDataLoader> contentCoreDataLoader, IVirtualPathResolver virtualPathResolver, TemplateResolver templateResolver)
Parameters
Type Name Description
IContentFactory contentFactory
ServiceAccessor<IContentTypeRepository> contentTypeRepository
UrlSegmentHandler urlSegmentHandler
ILanguageBranchRepository languageBranchRepository
IContentCopyHandler contentCopyHandler
IContextValidationService validationService
IContentCacheKeyCreator contentCacheKeyCreator
ISynchronizedObjectInstanceCache cacheInstance
ServiceAccessor<IContentCoreDataLoader> contentCoreDataLoader
IVirtualPathResolver virtualPathResolver
TemplateResolver templateResolver
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

TemplateResolver

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

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

UrlSegmentHandler

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

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

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