Table of Contents

Class IndexedEventSource

Namespace
DxFeed.Graal.Net.Events
Assembly
DxFeed.Graal.Net.dll

Source identifier for IIndexedEvent.
For more details see Javadoc.

public class IndexedEventSource
Inheritance
IndexedEventSource
Derived
Inherited Members

Constructors

IndexedEventSource(int, string)

Initializes a new instance of the IndexedEventSource class.

public IndexedEventSource(int id, string name)

Parameters

id int

The identifier.

name string

The name of identifier.

Fields

DEFAULT

The default source with zero identifier for all events that do not support multiple sources.

public static readonly IndexedEventSource DEFAULT

Field Value

IndexedEventSource

Properties

Id

Gets a source identifier. Source identifier is non-negative.

public int Id { get; }

Property Value

int

Name

Gets a name of identifier.

public string Name { get; }

Property Value

string

Methods

Equals(object?)

Indicates whether some other indexed event source has the same id.

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. The result of this method is equal to Id.

public override int GetHashCode()

Returns

int

A hash code value for this object.

ToString()

Returns a string representation of the object.

public override string ToString()

Returns

string

A string representation of the object.

See Also