Class ChartViewResultParams
The parameters for the IChartBase view and ChartViewController, indicating what chart to execute
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Params
Assembly: LemonEdge.ClientCore.dll
Syntax
[DataContract]
public class ChartViewResultParams : PivotViewResultParams, ICloneable, ICloneable<ViewSerializedParam>, ICloneable<SQLWrapperResultsViewParams>, INotifyPropertyChanged, ICloneable<PivotViewResultParams>, ICloneable<ChartViewResultParams>
Constructors
ChartViewResultParams()
Declaration
public ChartViewResultParams()
Properties
ChartID
The id of the IChart to be executed by this view
Declaration
public Guid ChartID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ChartID_Label
The label for the ChartID entity
Declaration
public string ChartID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Clone()
Creates a new instance of this class (of type ChartViewResultParams) with all the same property values as this instance
Declaration
public ChartViewResultParams Clone()
Returns
Type | Description |
---|---|
ChartViewResultParams | 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(ChartViewResultParams)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ChartViewResultParams source)
Parameters
Type | Name | Description |
---|---|---|
ChartViewResultParams | 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
Load(IReadOnlyCache)
Loads the chart param by loading the definition of the chart, pivot and underlying sql wrapper for executing this chart
Declaration
public override Task Load(IReadOnlyCache cache)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyCache | cache | The local cache |
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |