dxFeed .Net API  5.8.0
dxFeed .Net API library intended to provide market data access for DX clients
Public Member Functions | Static Public Attributes | Properties
com.dxfeed.api.events.IndexedEventSource Class Reference
Inheritance diagram for com.dxfeed.api.events.IndexedEventSource:
[legend]
Collaboration diagram for com.dxfeed.api.events.IndexedEventSource:
[legend]

Public Member Functions

 IndexedEventSource (int id, string name)
 
override string ToString ()
 Returns a string representation of the object. More...
 
override bool Equals (object obj)
 Indicates whether some other indexed event source has the same id. Return true if this object is the same id as the obj argument; false otherwise. More...
 
override int GetHashCode ()
 Returns a hash code value for this object. The result of this method is equal to Id. More...
 

Static Public Attributes

static readonly IndexedEventSource DEFAULT = new IndexedEventSource(0, "DEFAULT")
 The default source with zero Id for all events that do not support multiple sources. More...
 

Properties

int Id [get, protected set]
 Gets the identifier of this order source. More...
 
string Name [get, protected set]
 Gets the name of this order source. More...
 

Constructor & Destructor Documentation

◆ IndexedEventSource()

com.dxfeed.api.events.IndexedEventSource.IndexedEventSource ( int  id,
string  name 
)
inline

Member Function Documentation

◆ Equals()

override bool com.dxfeed.api.events.IndexedEventSource.Equals ( object  obj)
inline

Indicates whether some other indexed event source has the same id. Return true if this object is the same id as the obj argument; false otherwise.

Parameters
objOther object.
Returns
true if this object is the same id as the obj argument; false otherwise.

◆ GetHashCode()

override int com.dxfeed.api.events.IndexedEventSource.GetHashCode ( )
inline

Returns a hash code value for this object. The result of this method is equal to Id.

Returns
Hash code value for this object.

◆ ToString()

override string com.dxfeed.api.events.IndexedEventSource.ToString ( )
inline

Returns a string representation of the object.

Returns
String representation of the object.

Field Documentation

◆ DEFAULT

readonly IndexedEventSource com.dxfeed.api.events.IndexedEventSource.DEFAULT = new IndexedEventSource(0, "DEFAULT")
static

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

Property Documentation

◆ Id

int com.dxfeed.api.events.IndexedEventSource.Id
getprotected set

Gets the identifier of this order source.

◆ Name

string com.dxfeed.api.events.IndexedEventSource.Name
getprotected set

Gets the name of this order source.


The documentation for this class was generated from the following file: