November Happy Hour will be moved to Thursday December 5th.

Interface IApprovalTypeFactory

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Factory for creating a type of approval.

Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IApprovalTypeFactory

Properties

ApprovalType

Identifies the approval type.

Declaration
string ApprovalType { get; }
Property Value
Type Description
System.String

DefinitionReferenceResolver

Option of using a custom approval reference resolver. Return null for default.

Declaration
IApprovalDefinitionReferenceResolver DefinitionReferenceResolver { get; }
Property Value
Type Description
IApprovalDefinitionReferenceResolver

LanguageResolver

Option of using a custom approval reference resolver. Return null for default.

Declaration
IApprovalLanguageResolver LanguageResolver { get; }
Property Value
Type Description
IApprovalLanguageResolver

Methods

CreateApproval(Uri)

Creates an instance of the registered approval class.

Declaration
Approval CreateApproval(Uri reference)
Parameters
Type Name Description
System.Uri reference

A reference to an approval

Returns
Type Description
Approval

A newly created approval

CreateApprovalDefinition(Uri)

Creates an instance of the registered approval definition class.

Declaration
ApprovalDefinition CreateApprovalDefinition(Uri reference)
Parameters
Type Name Description
System.Uri reference

Reference to an approval definition

Returns
Type Description
ApprovalDefinition

A newly created approval definition

Extension Methods