SaaS CMS has officially launched! Learn more now.

Class ContentApprovalReferenceHelper

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

Inheritance
System.Object
ContentApprovalReferenceHelper
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.Approvals.ContentApprovals.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public static class ContentApprovalReferenceHelper

Methods

GetContentReference(Uri, Boolean)

Declaration
public static ContentReference GetContentReference(Uri key, bool throwOnNonContent = true)
Parameters
Type Name Description
System.Uri key
System.Boolean throwOnNonContent
Returns
Type Description
ContentReference

GetUri(ContentReference, Boolean)

Declaration
public static Uri GetUri(ContentReference contentLink, bool ignoreVersion)
Parameters
Type Name Description
ContentReference contentLink
System.Boolean ignoreVersion
Returns
Type Description
System.Uri