Class ApprovalTypeConverter
- Namespace
- Dynamicweb.Content
- Assembly
- Dynamicweb.dll
This class is meant for use to wrap the integers indicating approvaltype inside a human-readable enum.
public class ApprovalTypeConverter
- Inheritance
-
ApprovalTypeConverter
- Inherited Members
Methods
Convert(int)
Converts from an integer to an ApprovalType.
public static ApprovalType Convert(int approvalTypeValue)
Parameters
approvalTypeValue
int- integer representing an approvaltype
Returns
- ApprovalType
- approvalType
Remarks
See description of ApprovalType for mappings from integer to ApprovalType
Exceptions
- ArgumentException
- Throws an exception if the integer is not a valid approvaltype