Class DefaultApprovalTypeRegistry
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
DefaultApprovalTypeRegistry
Implements
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.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class DefaultApprovalTypeRegistry : IApprovalTypeRegistry
Constructors
DefaultApprovalTypeRegistry()
Declaration
public DefaultApprovalTypeRegistry()
Methods
GetFactory(String)
Declaration
public IApprovalTypeFactory GetFactory(string approvalType)
Parameters
Type | Name | Description |
---|---|---|
System.String | approvalType |
Returns
Type | Description |
---|---|
IApprovalTypeFactory |
GetFactory(Type)
Declaration
public IApprovalTypeFactory GetFactory(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
IApprovalTypeFactory |
Register<TApprovalDefinition, TApproval>(IApprovalTypeFactory)
Declaration
public void Register<TApprovalDefinition, TApproval>(IApprovalTypeFactory factory)
where TApprovalDefinition : ApprovalDefinition where TApproval : Approval
Parameters
Type | Name | Description |
---|---|---|
IApprovalTypeFactory | factory |
Type Parameters
Name | Description |
---|---|
TApprovalDefinition | |
TApproval |