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

Class ContentRootResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
ContentRootResolver
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.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(Lifecycle = ServiceInstanceScope.Singleton)]
public class ContentRootResolver

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