Table of Contents

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

DoubleArray

CurrentTime

Gets the current time of Current.

long CurrentTime { get; }

Property Value

long

InputProperties

The number of properties of input argument of Update(long, DoubleArray) must have.

int InputProperties { get; }

Property Value

int

IsReady

Gets a flag indicating when this updatable is ready and fully initialized

bool IsReady { get; }

Property Value

bool

OutputCount

The number of items Current will have.

int OutputCount { get; }

Property Value

int

Properties

The number of properties Current will have.

int Properties { get; }

Property Value

int

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

time long

The timestamp represented in milliseconds-epoch-1970.

input DoubleArray

The value to use to update this updatable

Events

Resetted

Event handler that fires after this updatable is reset.

event ResettedHandler Resetted

Event Type

ResettedHandler

Updated

Event handler that fires after this updatable is updated.

event UpdatedHandler Updated

Event Type

UpdatedHandler