Show / Hide Table of Contents

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 Source

DetailedResult(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 Source

AdditionalInfo

Additional info (like which illegal move was played)

Declaration
public object AdditionalInfo { readonly get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

Detail

The result's detail giving the reason for the result

Declaration
public ResultDetail Detail { readonly get; }
Property Value
Type Description
ResultDetail
| Improve this Doc View Source

Result

The result (white wins, black wins or draw)

Declaration
public Result Result { readonly get; }
Property Value
Type Description
Result
| Improve this Doc View Source

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 Source

ToString()

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()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX