Class DataSourceSearchParam
The custom search parameter for the DataSourceSearchDisplayerItem used in the DisplayableItemDescriptorForCustomSettings displayable item descriptor
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
[DataContract]
public class DataSourceSearchParam : SerializedParam, ICloneable, ICloneable<DataSourceSearchParam>, INotifyPropertyChanged
Constructors
DataSourceSearchParam()
Declaration
public DataSourceSearchParam()
Properties
DataSourceTypeID
The type of data source to search. If null then all DataSourceTypeID entries are searched
Declaration
public Guid? DataSourceTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
DataSourceTypeID_Label
The label for the DataSourceTypeID selected, if any
Declaration
public string DataSourceTypeID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityTypeID
The specific type of entity record to search for rather than all entities in the system
If this has a value then only matching EntityTypeID entries will be searched
Declaration
public Guid? EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
MatchExactly
Indicates if the search should match exactly on the SearchID or only needs to contain it
Declaration
public bool MatchExactly { get; set; }
Property Value
Type | Description |
---|---|
bool |
SearchID
The id to search for in SourceID entries
Declaration
public string SearchID { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Clone()
Creates a new instance of this class (of type DataSourceSearchParam) with all the same property values as this instance
Declaration
public DataSourceSearchParam Clone()
Returns
Type | Description |
---|---|
DataSourceSearchParam | 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(DataSourceSearchParam)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(DataSourceSearchParam source)
Parameters
Type | Name | Description |
---|---|---|
DataSourceSearchParam | 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 |