Class ContentApprovalEngineExtensions
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
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: 11.20.7Syntax
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>> |