# IGrainReferenceRuntime

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions)

```csharp
public interface IGrainReferenceRuntime
```

Runtime logic for [GrainReference](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainreference/)s to be usable. This service is not meant to be used directly by user code.

## Methods

- [Cast(IAddressable, Type)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.igrainreferenceruntime/methods/cast-orleans-runtime-iaddressable-system-type-0eefe2ff/)
- [InvokeMethod(GrainReference, IInvokable, InvokeMethodOptions)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.igrainreferenceruntime/methods/invokemethod-orleans-runtime-grainreference-orleans-serialization-invocation-iin-9bf3ff62/)
- [InvokeMethodAsync(GrainReference, IInvokable, InvokeMethodOptions)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.igrainreferenceruntime/methods/invokemethodasync-orleans-runtime-grainreference-orleans-serialization-invocatio-dcd97924/)
- [InvokeMethodAsync(GrainReference, IInvokable, InvokeMethodOptions)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.igrainreferenceruntime/methods/invokemethodasync-1-orleans-runtime-grainreference-orleans-serialization-invocat-46060b28/)
