Edit

Share via


GrainInterfaceType Struct

Definition

Uniquely identifies a grain interface.

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

Constructors

Name Description
GrainInterfaceType(IdSpan)

Creates a GrainInterfaceType instance.

GrainInterfaceType(String)

Creates a GrainInterfaceType instance.

Properties

Name Description
IsDefault

Returns true if this value is equal to the default instance.

Value

Returns the IdSpan value underlying this instance.

Methods

Name Description
Create(String)

Creates a GrainInterfaceType instance.

Equals(GrainInterfaceType)

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.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns a UTF8 interpretation of the current instance.

Operators

Name Description
Equality(GrainInterfaceType, GrainInterfaceType)

Compares the provided operands for equality.

Inequality(GrainInterfaceType, GrainInterfaceType)

Compares the provided operands for inequality.

Explicit Interface Implementations

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

Applies to