IGrainFactory
interface
Namespace: Orleans
Functionality for creating references to grains.
public interface IGrainFactoryMethods
CreateObjectReference(IGrainObserver)Creates a reference to the providedobj.DeleteObjectReference(IGrainObserver)Deletes the provided object reference.GetGrain(GrainId)Returns an untyped reference for the provided grain id.GetGrain(GrainId, GrainInterfaceType)Returns a reference for the provided grain id which implements the specified interface type.GetGrain(Type, IdSpan)Returns a reference for the provided grain id which implements the specified interface type.GetGrain(Type, IdSpan, string)Returns a reference for the provided grain id which implements the specified interface type.GetGrain(Type, Guid)Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key.GetGrain(Type, Guid, string)Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key.GetGrain(Type, long)Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key.GetGrain(Type, long, string)Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key.GetGrain(Type, string)Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key.GetGrain(GrainId)Returns a reference to the specified grain which implements the specified interface.GetGrain(Guid, string, string?)Gets a reference to a grain.GetGrain(Guid, string?)Gets a reference to a grain.GetGrain(long, string, string?)Gets a reference to a grain.GetGrain(long, string?)Gets a reference to a grain.GetGrain(string, string?)Gets a reference to a grain.
