SaaS CMS has officially launched! Learn more now.

Class ContentApprovalEngineExtensions

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

Methods

StartAsync(IApprovalEngine, ContentReference, String, Boolean)

Declaration
public static Task<ContentApproval> StartAsync(this IApprovalEngine engine, ContentReference contentLink, string username, bool throwOnMissingDefinition)
Parameters
Type Name Description
IApprovalEngine engine
ContentReference contentLink
System.String username
System.Boolean throwOnMissingDefinition
Returns
Type Description
System.Threading.Tasks.Task<ContentApproval>

StartAsync(IApprovalEngine, IEnumerable<ContentReference>, String, Boolean)

Declaration
public static Task<IEnumerable<ContentApproval>> StartAsync(this IApprovalEngine engine, IEnumerable<ContentReference> contentLinks, string username, bool throwOnMissingDefinition)
Parameters
Type Name Description
IApprovalEngine engine
System.Collections.Generic.IEnumerable<ContentReference> contentLinks
System.String username
System.Boolean throwOnMissingDefinition
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ContentApproval>>