BGC Tools
Public Member Functions | Static Public Member Functions | Data Fields
BGC.Study.SessionID Struct Reference
Collaboration diagram for BGC.Study.SessionID:
Collaboration graph
[legend]

Public Member Functions

 SessionID (int id)
 

Static Public Member Functions

static implicit operator SessionID (Session session)
 
static implicit operator SessionID (int id)
 

Data Fields

readonly int id
 
Session Session
 

Detailed Description

Definition at line 198 of file Protocol.cs.

Constructor & Destructor Documentation

◆ SessionID()

BGC.Study.SessionID.SessionID ( int  id)
inline

Definition at line 204 of file Protocol.cs.

References BGC.Study.Session.id.

205  {
206  this.id = id;
207  }
readonly int id
Definition: Protocol.cs:200

Member Function Documentation

◆ operator SessionID() [1/2]

static implicit BGC.Study.SessionID.operator SessionID ( Session  session)
static

◆ operator SessionID() [2/2]

static implicit BGC.Study.SessionID.operator SessionID ( int  id)
static

Field Documentation

◆ id

readonly int BGC.Study.SessionID.id

Definition at line 200 of file Protocol.cs.

Referenced by BGC.Study.ProtocolManager.SerializeProtocols().

◆ Session

Session BGC.Study.SessionID.Session
Initial value:
=> ProtocolManager.sessionDictionary.ContainsKey(id) ?
ProtocolManager.sessionDictionary[id] : null

Definition at line 201 of file Protocol.cs.


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