Struct DetailedResult
The detailed result, containing the information about the game's outcome
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PonzianiComponents.Chesslib
Assembly: PonzianiComponents.dll
Syntax
public struct DetailedResult
Constructors
| Improve this Doc View SourceDetailedResult(Result, ResultDetail, Object)
Creates a new Detailed result
Declaration
public DetailedResult(Result result, ResultDetail detail = ResultDetail.UNKNOWN, object additionalInfo = null)
Parameters
Type | Name | Description |
---|---|---|
Result | result | The result (white wins, black wins or draw) |
ResultDetail | detail | The result's detail giving the reason for the result |
System.Object | additionalInfo | additional info (like which illegal move was played) |
Properties
| Improve this Doc View SourceAdditionalInfo
Additional info (like which illegal move was played)
Declaration
public object AdditionalInfo { readonly get; }
Property Value
Type | Description |
---|---|
System.Object |
Detail
The result's detail giving the reason for the result
Declaration
public ResultDetail Detail { readonly get; }
Property Value
Type | Description |
---|---|
ResultDetail |
Result
The result (white wins, black wins or draw)
Declaration
public Result Result { readonly get; }
Property Value
Type | Description |
---|---|
Result |
Termination
The termination tag value as used in PGN Termination tag
Declaration
public readonly string Termination { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Creates a string representation, mimicing the result info from cutechess
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | the string representation |
Overrides
System.ValueType.ToString()