Class ContentApprovalEngineExtensions

Inheritance
System.Object
ContentApprovalEngineExtensions
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 ContentApprovalEngineExtensions

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>>