RequestId Struct

Definizione

Rappresenta l'ID di una richiesta, indipendentemente dal fatto che sia un numero o una stringa.

[Newtonsoft.Json.JsonConverter(typeof(StreamJsonRpc.RequestIdJsonConverter))]
public struct RequestId : IEquatable<StreamJsonRpc.RequestId>
[<Newtonsoft.Json.JsonConverter(typeof(StreamJsonRpc.RequestIdJsonConverter))>]
type RequestId = struct
Public Structure RequestId
Implements IEquatable(Of RequestId)
Ereditarietà
RequestId
Attributi
Newtonsoft.Json.JsonConverterAttribute
Implementazioni

Costruttori

Nome Descrizione
RequestId(Int64)

Inizializza una nuova istanza dello struct RequestId.

RequestId(String)

Inizializza una nuova istanza dello struct RequestId.

Proprietà

Nome Descrizione
IsEmpty

Ottiene un valore che indica se l'ID richiesta non è stato specificato,ad esempio nessuna stringa, numero o null.

IsNull

Ottiene un valore che indica se questo ID richiesta viene specificato in modo esplicito come valore speciale "null".

NotSpecified

Ottiene un ID vuoto (assente).

Null

Ottiene il valore speciale per un ID richiesta specificato null in modo esplicito.

Number

Ottiene l'ID se è un numero.

String

Ottiene l'ID se è una stringa.

Metodi

Nome Descrizione
Equals(Object)

Rappresenta l'ID di una richiesta, indipendentemente dal fatto che sia un numero o una stringa.

Equals(RequestId)

Rappresenta l'ID di una richiesta, indipendentemente dal fatto che sia un numero o una stringa.

GetHashCode()

Rappresenta l'ID di una richiesta, indipendentemente dal fatto che sia un numero o una stringa.

ToString()

Rappresenta l'ID di una richiesta, indipendentemente dal fatto che sia un numero o una stringa.

Operatori

Nome Descrizione
Equality(RequestId, RequestId)

Verifica l'uguaglianza tra due RequestId valori.

Inequality(RequestId, RequestId)

Verifica la disuguaglianza tra due RequestId valori.

Si applica a