Show / Hide Table of Contents

Class FileSessionSummary

FileSession summary

Inheritance
System.Object
FileSessionSummary
Implements
ISessionSummary
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class FileSessionSummary : Object, ISessionSummary

Constructors

FileSessionSummary(SessionKey, String, ISessionInformation)

Constructor

Declaration
public FileSessionSummary(SessionKey key, string path, ISessionInformation sessionInformation)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key
System.String path
ISessionInformation sessionInformation

Properties

Associates

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

Constants

Constants

Declaration
public ReadOnlyCollection<Constant> Constants { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Constant>

EndTime

Session End time

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

ExtendedAssociates

Declaration
public 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
public long FastestLapTime { get; }
Property Value
Type Description
System.Int64

FileSessionPath

File path to underlying file

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

Identifier

Identifier

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

IsAssociate

Is this an Associated Session

Declaration
public bool IsAssociate { get; set; }
Property Value
Type Description
System.Boolean

Items

Session Data Items

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

Key

Session Key

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

Laps

Laps

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

Markers

Get the session Markers

Declaration
public ReadOnlyCollection<Marker> Markers { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<Marker>

OwnerId

Licence OwnerId

Declaration
public uint OwnerId { get; set; }
Property Value
Type Description
System.UInt32

SessionId

Session Id in the DB

Declaration
public int SessionId { get; set; }
Property Value
Type Description
System.Int32

SessionLoader

ISessionLoader instance to open the underlying file

Declaration
public ISessionLoader SessionLoader { get; set; }
Property Value
Type Description
ISessionLoader

SessionType

Session type

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

StartTime

Session Start time

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

State

Session State

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

TimeOfRecording

Time of Recording

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

VersionUsedToRecord

SQLRace Version in use when session was created

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

Methods

AddOrUpdateSessionDataItem(SessionDataItem)

Add or update the session data item.

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

GetConnectionString()

Declaration
public string GetConnectionString()
Returns
Type Description
System.String

Implements

ISessionSummary
Back to top Generated by DocFX