Redigera

Dela via


StreamId Struct

Definition

Identifies a Stream within a provider

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

Properties

FullKey

Gets the full key.

Key

Gets the key.

Namespace

Gets the namespace.

Methods

CompareTo(StreamId)

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(IStreamIdentity)

Initializes a new instance of the StreamId struct.

Create(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Initializes a new instance of the StreamId struct.

Create(String, Guid)

Initializes a new instance of the StreamId struct.

Create(String, Int64)

Initializes a new instance of the StreamId struct.

Create(String, String)

Initializes a new instance of the StreamId struct.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(StreamId)

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

GetHashCode()

Returns the hash code for this instance.

GetKeyAsString()

Returns the Key component of this instance as a string.

GetNamespace()

Returns the Namespace component of this instance as a string.

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

Populates a SerializationInfo with the data needed to serialize the target object.

Parse(ReadOnlySpan<Byte>)

Parses a StreamId instance from a String.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(StreamId, StreamId)

Compares two StreamId instances for equality.

Inequality(StreamId, StreamId)

Compares two StreamId instances for equality.

Explicit Interface Implementations

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

Applies to