# GrainFactoryExtensions

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) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Core/IGrainFactory.cs#L7)

```csharp
public static class GrainFactoryExtensions
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Methods

- [GetGrain(IGrainFactory, IdSpan)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grainfactoryextensions/methods/getgrain-1-this-orleans-igrainfactory-orleans-runtime-idspan-fdc4ff69/)
- [GetGrain(IGrainFactory, IdSpan, string)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grainfactoryextensions/methods/getgrain-1-this-orleans-igrainfactory-orleans-runtime-idspan-string-9233a20e/)
