SystemTargetGrainId
struct
Namespace: Orleans.Runtime
Identifies a system target.
[Orleans.Immutable]public readonly struct SystemTargetGrainId : IComparable<SystemTargetGrainId>, IEquatable<SystemTargetGrainId>, IFormattable, ISpanFormattableProperties
GrainIdGets 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)Creates a newSystemTargetGrainIdinstance.Create(GrainType, SiloAddress, string?)Creates a newSystemTargetGrainIdinstance.CreateGrainServiceGrainId(int, string, SiloAddress)Creates aSystemTargetGrainIdfor a grain service.CreateGrainType(string)Creates a system targetGrainTypewith the provided name.Equals(SystemTargetGrainId)Indicates whether the current object is equal to another object of the same type.Equals(object?)Indicates whether this instance and a specified object are equal.GetHashCodeReturns the hash code for this instance.GetSiloAddressGets theSiloAddressof the system target.IsSystemTargetGrainId(GrainId)Returnstrueif the provided instance represents a system target,falseif otherwise.ToStringReturns the fully qualified type name of this instance.TryParse(GrainId, SystemTargetGrainId)Converts the providedSystemTargetGrainIdto aSystemTargetGrainId. A return value indicates whether the operation succeeded.WithSiloAddress(SiloAddress)Returns a newSystemTargetGrainIdtargeting the provided address.operator ==(SystemTargetGrainId, SystemTargetGrainId)Compares the provided operands for equality.operator >(SystemTargetGrainId, SystemTargetGrainId)Compares the provided operands and returnstrueif the left operand is greater than the right operand, otherwisefalse.operator >=(SystemTargetGrainId, SystemTargetGrainId)Compares the provided operands and returnstrueif the left operand is greater than or equal to the right operand, otherwisefalse.operator !=(SystemTargetGrainId, SystemTargetGrainId)Compares the provided operands for inequality.operator <(SystemTargetGrainId, SystemTargetGrainId)Compares the provided operands and returnstrueif the left operand is less than the right operand, otherwisefalse.operator <=(SystemTargetGrainId, SystemTargetGrainId)Compares the provided operands and returnstrueif the left operand is less than or equal to the right operand, otherwisefalse.
