Class EntitySerializedParam
Inherited Members
Namespace: LemonEdge.Client.Core.Support
Assembly: LemonEdge.ClientCore.dll
Syntax
[DataContract]
public class EntitySerializedParam : SerializedParam, ICloneable, ICloneable<EntitySerializedParam>, INotifyPropertyChanged
Constructors
EntitySerializedParam()
Declaration
public EntitySerializedParam()
Properties
EntityTypeID
The type of entity that an instance can be selected by the user
Declaration
public Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Filter
An optional filter that restricts the items that can be selected by the user for the EntityTypeID
Declaration
public QueryableFilter Filter { get; set; }
Property Value
Type | Description |
---|---|
QueryableFilter |
ID
The id of the instance of a record of type EntityTypeID
Declaration
public Guid? ID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
ID_Label
The label for the selected itemwith id ID
Declaration
public string ID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
A user friendly message for the selection of the type of entity
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Clone()
Creates a new instance of this class (of type EntitySerializedParam) with all the same property values as this instance
Declaration
public EntitySerializedParam Clone()
Returns
Type | Description |
---|---|
EntitySerializedParam | 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(EntitySerializedParam)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(EntitySerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
EntitySerializedParam | 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 |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |