Show / Hide Table of Contents

Interface ISessionSummary

Exposes declaration related to session summaries

Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface ISessionSummary

Properties

Associates

Gets the collection of associates

Declaration
IAssociateCollection Associates { get; }
Property Value
Type Description
IAssociateCollection

EndTime

Gets the end time of the session.

Declaration
long EndTime { get; }
Property Value
Type Description
System.Int64

ExtendedAssociates

Extended Associates.

Declaration
IExtendedAssociateCollection ExtendedAssociates { get; }
Property Value
Type Description
IExtendedAssociateCollection

FastestLapTime

Get the lap time in nanoseconds of the fastest lap in this session or long.MaxValue if there are no eligible laps

Declaration
long FastestLapTime { get; }
Property Value
Type Description
System.Int64

FileSessionPath

Gets a file-based session path.

Declaration
string FileSessionPath { get; }
Property Value
Type Description
System.String
Remarks

This will only be set if the Session underlyingly get's it's data from an implemented Session loading assembly.

Identifier

Gets the description.

Declaration
string Identifier { get; }
Property Value
Type Description
System.String

Items

Gets the session details for a session.

Declaration
IPersistableCollection<SessionDataItem> Items { get; }
Property Value
Type Description
IPersistableCollection<SessionDataItem>

Key

Gets the Session Key.

Declaration
SessionKey Key { get; }
Property Value
Type Description
MAT.OCS.Core.SessionKey

Laps

Gets the collection of laps for a session.

Declaration
ReadOnlyCollection<Lap> Laps { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Lap>

SessionType

Gets the type of the session.

Declaration
string SessionType { get; }
Property Value
Type Description
System.String

StartTime

Gets the start time of the session.

Declaration
long StartTime { get; }
Property Value
Type Description
System.Int64

State

Gets the session state.

Declaration
SessionState State { get; }
Property Value
Type Description
SessionState

The session status.

Remarks

When a session is currently being recorded to, the SessionState will be set to Live. If the session has been loaded from the database, the SessionState will be set to Historical.

TimeOfRecording

Gets the date and time that the session was recorded.

Declaration
DateTime TimeOfRecording { get; }
Property Value
Type Description
System.DateTime

VersionUsedToRecord

Gets the version number of the API that was used to record the session.

Declaration
string VersionUsedToRecord { get; }
Property Value
Type Description
System.String

Methods

AddOrUpdateSessionDataItem(SessionDataItem)

Adds the session data item or overwrites it if it already exists.

Declaration
void AddOrUpdateSessionDataItem(SessionDataItem item)
Parameters
Type Name Description
SessionDataItem item

The item.

GetConnectionString()

Returns the connection string to the session.

Declaration
string GetConnectionString()
Returns
Type Description
System.String

Either the database connection string or remote connection string

Remarks

This will return either the database connection or remote connection is the session is on a SQL Race server instance

Back to top Generated by DocFX