|
BGC Tools
|


Public Member Functions | |
| Session () | |
| Session (JsonObject sessionData) | |
| Deserialization Constructor Deserialized Sessions are not added to the Session dictionary More... | |
| void | Add (SessionElement element) |
| void | AddRange (IEnumerable< SessionElement > elements) |
| JsonObject | SerializeSession () |
Static Public Member Functions | |
| static void | HardClear () |
Data Fields | |
| readonly int | id |
| List< SessionElementID > | sessionElements |
| JsonObject | envVals |
| int | Count => sessionElements.Count |
| SessionElement | this[int i] => sessionElements[i].Element |
Private Member Functions | |
| IEnumerator< SessionElementID > IEnumerable< SessionElementID >. | GetEnumerator () |
| IEnumerator IEnumerable. | GetEnumerator () |
Static Private Attributes | |
| static int | nextSessionID = 1 |
Definition at line 75 of file Protocol.cs.
|
inline |
Definition at line 84 of file Protocol.cs.
References BGC.Study.ProtocolManager.sessionDictionary.
|
inline |
Deserialization Constructor Deserialized Sessions are not added to the Session dictionary
Definition at line 97 of file Protocol.cs.
References LightJson.JsonObject.Add(), BGC.Study.ProtocolKeys.Session.EnvironmentValues, BGC.Study.ProtocolKeys.Session.Id, and BGC.Study.ProtocolKeys.Session.SessionElementIDs.

|
inline |
Definition at line 125 of file Protocol.cs.
|
inline |
Definition at line 135 of file Protocol.cs.
|
private |
|
private |
|
inlinestatic |
Definition at line 170 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.HardClearAll().

|
inline |
Definition at line 148 of file Protocol.cs.
References LightJson.JsonObject.Add(), LightJson.JsonObject.Count, BGC.Study.ProtocolKeys.Session.EnvironmentValues, BGC.Study.ProtocolKeys.Session.Id, BGC.Study.SessionElementID.id, and BGC.Study.ProtocolKeys.Session.SessionElementIDs.
Referenced by BGC.Study.ProtocolManager.SerializeSessions().


| int BGC.Study.Session.Count => sessionElements.Count |
Definition at line 122 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.ExecuteNextElement(), and BGC.Study.ProtocolManager.SetSession().
| JsonObject BGC.Study.Session.envVals |
Definition at line 81 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.GetEnvValue().
| readonly int BGC.Study.Session.id |
Definition at line 78 of file Protocol.cs.
Referenced by BGC.Study.ProtocolManager.DeserializeSessions(), and BGC.Study.SessionID.SessionID().
|
staticprivate |
Definition at line 77 of file Protocol.cs.
| List<SessionElementID> BGC.Study.Session.sessionElements |
Definition at line 80 of file Protocol.cs.
| SessionElement BGC.Study.Session.this[int i] => sessionElements[i].Element |
Definition at line 123 of file Protocol.cs.
1.8.13