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

Class ContentRootResolver

Inheritance
System.Object
ContentRootResolver
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class ContentRootResolver : Object

Constructors

ContentRootResolver()

Declaration
public ContentRootResolver()

ContentRootResolver(ContentRootRepository, ISiteDefinitionRepository, ServiceAccessor<SiteDefinition>)

Declaration
public ContentRootResolver(ContentRootRepository contentRootRepository, ISiteDefinitionRepository siteDefinitionRepository, ServiceAccessor<SiteDefinition> currentSiteAccessor)
Parameters
Type Name Description
ContentRootRepository contentRootRepository
ISiteDefinitionRepository siteDefinitionRepository
ServiceAccessor<SiteDefinition> currentSiteAccessor

Methods

Resolve(ContentReference)

Declaration
public virtual ContentRoot Resolve(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
ContentRoot

Resolve(String, Action<String>)

Declaration
public virtual ContentRoot Resolve(string identifier, Action<string> warningLogger = null)
Parameters
Type Name Description
System.String identifier
System.Action<System.String> warningLogger
Returns
Type Description
ContentRoot

Extension Methods