Class ApprovalDefinitionReviewer
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. A reviewer in an approval definition step.
Inheritance
Inherited Members
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class ApprovalDefinitionReviewer : IReadOnly<ApprovalDefinitionReviewer>, IReadOnly
Constructors
ApprovalDefinitionReviewer()
Creates an empty ApprovalDefinitionReviewer/>.
Declaration
public ApprovalDefinitionReviewer()
ApprovalDefinitionReviewer(String, IEnumerable<CultureInfo>)
Creates an ApprovalDefinitionReviewer object for a user with a list of System.Globalization.CultureInfo"/>.
Declaration
public ApprovalDefinitionReviewer(string name, IEnumerable<CultureInfo> languages)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the reviewer |
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo> | languages | Languages for the reviewer |
ApprovalDefinitionReviewer(String, IEnumerable<CultureInfo>, ApprovalDefinitionReviewerType)
Creates an ApprovalDefinitionReviewer object for a user with a list of System.Globalization.CultureInfo"/>.
Declaration
public ApprovalDefinitionReviewer(string name, IEnumerable<CultureInfo> languages, ApprovalDefinitionReviewerType reviewerType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the reviewer |
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo> | languages | Languages for the reviewer |
ApprovalDefinitionReviewerType | reviewerType | The type of reviewer |
Properties
IsReadOnly
Gets a value indicating whether this instance is read only.
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Languages
List of languages that is valid for a reviewer in current step.
Declaration
public IList<CultureInfo> Languages { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Globalization.CultureInfo> |
Name
Name of the reviewer.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReviewerType
Gets or sets the type of reviewer
Declaration
public ApprovalDefinitionReviewerType ReviewerType { get; set; }
Property Value
Type | Description |
---|---|
ApprovalDefinitionReviewerType |
Username
Name of the reviewer.
Declaration
[Obsolete("Use name instead")]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CreateWritableClone()
Creates a writable copy of the current object.
Declaration
public ApprovalDefinitionReviewer CreateWritableClone()
Returns
Type | Description |
---|---|
ApprovalDefinitionReviewer | A writable copy of the current object. |
MakeReadOnly()
Makes this instance read-only.
Declaration
public void MakeReadOnly()
ThrowIfReadOnly()
Throws an exception if the current instance is read-only.
Declaration
protected void ThrowIfReadOnly()
Explicit Interface Implementations
IReadOnly.CreateWritableClone()
Creates a writable copy of the current object.
Declaration
object IReadOnly.CreateWritableClone()
Returns
Type | Description |
---|---|
System.Object | A writable copy of the current object. |