Class EntityTypeSerializedParam
Inherited Members
Namespace: LemonEdge.Client.Core.Support
Assembly: LemonEdge.ClientCore.dll
Syntax
[DataContract]
public class EntityTypeSerializedParam : SerializedParam, ICloneable, ICloneable<EntityTypeSerializedParam>
Constructors
EntityTypeSerializedParam()
Declaration
public EntityTypeSerializedParam()
Properties
AllowMultiple
Declaration
[DataMember]
public bool AllowMultiple { get; set; }
Property Value
Type | Description |
---|---|
bool |
EntityTypeID
The UniqueKey for the entity type selected by the user
Declaration
public string EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
The message for the entity type selection to display to the user
Declaration
[DataMember]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
MultipleEntityTypeIDs
Declaration
public string[] MultipleEntityTypeIDs { get; }
Property Value
Type | Description |
---|---|
string[] |
Methods
Clone()
Creates a new instance of this class (of type EntityTypeSerializedParam) with all the same property values as this instance
Declaration
public EntityTypeSerializedParam Clone()
Returns
Type | Description |
---|---|
EntityTypeSerializedParam | A new instance of this class with all the same property values as this instance |
CopyFromParam(SerializedParam)
Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified
source
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source | The source instance of a SerializedParam that is of the same type as this one to copy parameter values from |
Overrides
Remarks
Used by the generic implementation of Clone()
CopyFromSource(EntityTypeSerializedParam)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(EntityTypeSerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
EntityTypeSerializedParam | source | The source object to copy all values from. |
CreateNewParam()
Must be implemented by inheriting classes to provide a new instance of the current class type.
Used when cloning this SerializedParam to create a new instance of the same type
Declaration
protected override SerializedParam CreateNewParam()
Returns
Type | Description |
---|---|
SerializedParam | A new instance of the current SerializedParam type |