Table of Contents

Class IndexedEventSubscriptionSymbol<T>

Namespace
DxFeed.Graal.Net.Api.Osub
Assembly
DxFeed.Graal.Net.dll

Represents subscription to a specific source of indexed events. Instances of this class can be used with DXFeedSubscription to specify subscription to a particular source of indexed events. By default, when subscribing to indexed events by their event symbol object, the subscription is performed to all supported sources.
For more details see Javadoc.

public class IndexedEventSubscriptionSymbol<T>

Type Parameters

T

The type of event symbol.

Inheritance
IndexedEventSubscriptionSymbol<T>
Derived
Inherited Members

Constructors

IndexedEventSubscriptionSymbol(T, IndexedEventSource)

Initializes a new instance of the IndexedEventSubscriptionSymbol<T> class with a specified event symbol and source.

public IndexedEventSubscriptionSymbol(T eventSymbol, IndexedEventSource source)

Parameters

eventSymbol T

The event symbol.

source IndexedEventSource

The event source.

Exceptions

ArgumentNullException

If eventSymbol or source are null.

Properties

EventSymbol

Gets event symbol.

public T EventSymbol { get; }

Property Value

T

Source

Gets indexed event source.

public IndexedEventSource Source { get; }

Property Value

IndexedEventSource

Methods

Equals(object?)

Indicates whether some other indexed event subscription symbol has the same EventSymbol and Source.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Returns a hash code value for this object.

public override int GetHashCode()

Returns

int

A hash code value for this object.

ToString()

public override string ToString()

Returns

string