Cast
virtual
public virtual TGrainInterface Cast<TGrainInterface>() Creates a new grain reference which implements the specified grain interface.
Returns
A new grain reference which implements the specified interface type.
public virtual TGrainInterface Cast<TGrainInterface>()public bool Equals(GrainReference? other)otherGrainReference?true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj)objobject?true if the object is equal to this reference.public override int GetHashCode()protected TInvokable GetInvokable<TInvokable>()public uint GetUniformHashCode()protected void Invoke(IRequest methodDescription)methodDescriptionIRequestprotected ValueTask InvokeAsync(IRequest methodDescription)methodDescriptionIRequestSystem.Threading.Tasks.ValueTask representing the operation.protected ValueTask<T?> InvokeAsync<T>(IRequest methodDescription)methodDescriptionIRequestpublic sealed override string ToString()public static bool operator ==(GrainReference? reference1, GrainReference? reference2)reference1GrainReference?reference2GrainReference?true if both grain references refer to the same grain (by grain identifier).public static bool operator !=(GrainReference? reference1, GrainReference? reference2)reference1GrainReference?reference2GrainReference?false if both grain references are resolved to the same grain (by grain identifier).