Partager via


GrainType.Explicit Opérateur

Définition

Surcharges

Explicit(GrainType to IdSpan)

Convertit une GrainType en une IdSpan.

Explicit(IdSpan to GrainType)

Convertit une IdSpan en une GrainType.

Explicit(GrainType to IdSpan)

Convertit une GrainType en une IdSpan.

public static explicit operator Orleans.Runtime.IdSpan (Orleans.Runtime.GrainType kind);
static member op_Explicit : Orleans.Runtime.GrainType -> Orleans.Runtime.IdSpan
Public Shared Narrowing Operator CType (kind As GrainType) As IdSpan

Paramètres

kind
GrainType

Type de grain à convertir.

Retours

IdSpanCorrespondant à .

S’applique à

Explicit(IdSpan to GrainType)

Convertit une IdSpan en une GrainType.

public static explicit operator Orleans.Runtime.GrainType (Orleans.Runtime.IdSpan id);
static member op_Explicit : Orleans.Runtime.IdSpan -> Orleans.Runtime.GrainType
Public Shared Narrowing Operator CType (id As IdSpan) As GrainType

Paramètres

id
IdSpan

Étendue d’ID à convertir.

Retours

GrainTypeCorrespondant à .

S’applique à