SaaS CMS has officially launched! Learn more now.

Class ContentApprovalReferenceHelper

Inheritance
System.Object
ContentApprovalReferenceHelper
Namespace: EPiServer.Approvals.ContentApprovals.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class ContentApprovalReferenceHelper : Object

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