Bewerken

Delen via


SystemTargetGrainId Struct

Definition

Identifies a system target.

[Orleans.Immutable]
public readonly struct SystemTargetGrainId : IComparable<Orleans.Runtime.SystemTargetGrainId>, IEquatable<Orleans.Runtime.SystemTargetGrainId>, ISpanFormattable
[<Orleans.Immutable>]
type SystemTargetGrainId = struct
    interface ISpanFormattable
    interface IFormattable
Public Structure SystemTargetGrainId
Implements IComparable(Of SystemTargetGrainId), IEquatable(Of SystemTargetGrainId), ISpanFormattable
Inheritance
SystemTargetGrainId
Attributes
Implements

Properties

GrainId

Gets the underlying identity.

Methods

CompareTo(SystemTargetGrainId)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Create(GrainType, SiloAddress, String)

Creates a new SystemTargetGrainId instance.

Create(GrainType, SiloAddress)

Creates a new SystemTargetGrainId instance.

CreateGrainServiceGrainId(Int32, String, SiloAddress)

Creates a GrainId for a grain service.

CreateGrainType(String)

Creates a system target GrainType with the provided name.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(SystemTargetGrainId)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

GetSiloAddress()

Gets the SiloAddress of the system target.

IsSystemTargetGrainId(GrainId)

Returns true if the provided instance represents a system target, false if otherwise.

ToString()

Returns the fully qualified type name of this instance.

TryParse(GrainId, SystemTargetGrainId)

Converts the provided GrainId to a SystemTargetGrainId. A return value indicates whether the operation succeeded.

WithSiloAddress(SiloAddress)

Returns a new SystemTargetGrainId targeting the provided address.

Operators

Equality(SystemTargetGrainId, SystemTargetGrainId)

Compares the provided operands for equality.

GreaterThan(SystemTargetGrainId, SystemTargetGrainId)

Compares the provided operands and returns true if the left operand is greater than the right operand, otherwise false.

GreaterThanOrEqual(SystemTargetGrainId, SystemTargetGrainId)

Compares the provided operands and returns true if the left operand is greater than or equal to the right operand, otherwise false.

Inequality(SystemTargetGrainId, SystemTargetGrainId)

Compares the provided operands for inequality.

LessThan(SystemTargetGrainId, SystemTargetGrainId)

Compares the provided operands and returns true if the left operand is less than the right operand, otherwise false.

LessThanOrEqual(SystemTargetGrainId, SystemTargetGrainId)

Compares the provided operands and returns true if the left operand is less than or equal to the right operand, otherwise false.

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider)
ISpanFormattable.TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Applies to