Edit

Share via


GrainTypePrefix Class

Definition

Prefixes and corresponding helper methods for GrainType.

public static class GrainTypePrefix
type GrainTypePrefix = class
Public Module GrainTypePrefix
Inheritance
GrainTypePrefix

Fields

ClientGrainType

The prefix used to represent a grain client.

ClientPrefix

The prefix for clients.

ClientPrefixBytes

A span representation of ClientPrefix.

GrainServicePrefix

The prefix for grain service types.

GrainServicePrefixBytes

A span representation of ClientPrefix.

LegacyGrainPrefix

The prefix for legacy grains.

LegacyGrainPrefixBytes

A span representation of LegacyGrainPrefixBytes.

SystemPrefix

The prefix for system types.

SystemTargetPrefix

The prefix for system targets.

SystemTargetPrefixBytes

A span representation of SystemTargetPrefix.

Methods

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.

IsGrainService(GrainType)

Returns true if the type is a grain service, false if not.

IsLegacyGrain(GrainType)

Returns true if the type is a legacy grain, false if not.

IsSystemTarget(GrainId)

Returns true if the id represents a system target, false if not.

IsSystemTarget(GrainType)

Returns true if the type is a system target, false if not.

Applies to