Interface IUpdatable
- Namespace
- FinanceSharp
- Assembly
- FinanceSharp.dll
Represents an object that can be updated.
public interface IUpdatable
- Extension Methods
Remarks
Serves as a graphing component.
Properties
Current
Gets the current state of this updatable. If the state has not been updated then the value will be null.
DoubleArray Current { get; }
Property Value
CurrentTime
Gets the current time of Current.
long CurrentTime { get; }
Property Value
InputProperties
The number of properties of input argument of Update(long, DoubleArray) must have.
int InputProperties { get; }
Property Value
IsReady
Gets a flag indicating when this updatable is ready and fully initialized
bool IsReady { get; }
Property Value
OutputCount
The number of items Current will have.
int OutputCount { get; }
Property Value
Properties
The number of properties Current will have.
int Properties { get; }
Property Value
Methods
Reset()
Resets this updatable to its initial state
void Reset()
Update(long, DoubleArray)
Updates the state of this updatable with the given value and returns true if this updatable is ready, false otherwise
void Update(long time, DoubleArray input)
Parameters
timelongThe timestamp represented in milliseconds-epoch-1970.
inputDoubleArrayThe value to use to update this updatable
Events
Resetted
Event handler that fires after this updatable is reset.
event ResettedHandler Resetted
Event Type
Updated
Event handler that fires after this updatable is updated.
event UpdatedHandler Updated