Прочетете на английски Редактиране

Споделяне чрез


GrainTypePrefix.IsClient Method

Definition

Overloads

IsClient(GrainId)

Returns true if the id represents a client, false if not.

IsClient(GrainType)

Returns true if the type is a client, false if not.

IsClient(GrainId)

Returns true if the id represents a client, false if not.

C#
public static bool IsClient(this in Orleans.Runtime.GrainId id);

Parameters

id
GrainId

The grain id.

Returns

true if the type is a client, false if not.

Applies to

.NET Orleans 9.0.0 и други версии
Продукт Версии
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0

IsClient(GrainType)

Returns true if the type is a client, false if not.

C#
public static bool IsClient(this in Orleans.Runtime.GrainType type);

Parameters

type
GrainType

The grain type.

Returns

true if the type is a client, false if not.

Applies to

.NET Orleans 9.0.0 и други версии
Продукт Версии
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0