Class Lap
Contains the lap information of the session.
Inheritance
System.Object
Lap
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: MAT.AtlasSessionApi.dll
Syntax
Constructors
Lap(Int32, LapType, Int64)
Hold the information about the lap object without end time.
Declaration
public Lap(int number, LapType type, long startTime)
Parameters
Type |
Name |
Description |
System.Int32 |
number |
|
LapType |
type |
|
System.Int64 |
startTime |
|
Lap(Int32, LapType, Int64, Int64)
Hold the information about the lap object with end time.
Declaration
public Lap(int number, LapType type, long startTime, long endTime)
Parameters
Type |
Name |
Description |
System.Int32 |
number |
|
LapType |
type |
|
System.Int64 |
startTime |
|
System.Int64 |
endTime |
|
Properties
EndTime
Declaration
public long EndTime { get; }
Property Value
Type |
Description |
System.Int64 |
|
Number
Declaration
public int Number { get; }
Property Value
Type |
Description |
System.Int32 |
|
StartTime
Declaration
public long StartTime { get; }
Property Value
Type |
Description |
System.Int64 |
|
Type
Declaration
public LapType Type { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Equality(Lap, Lap)
Declaration
public static bool operator ==(Lap left, Lap right)
Parameters
Type |
Name |
Description |
Lap |
left |
|
Lap |
right |
|
Returns
Type |
Description |
System.Boolean |
|
Inequality(Lap, Lap)
Declaration
public static bool operator !=(Lap left, Lap right)
Parameters
Type |
Name |
Description |
Lap |
left |
|
Lap |
right |
|
Returns
Type |
Description |
System.Boolean |
|