# CosmosStorageFactory

Package: [Microsoft.Orleans.Persistence.Cosmos](/orleans/docs/api/csharp/microsoft.orleans.persistence.cosmos/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Persistence.Cosmos) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Persistence.Cosmos/CosmosGrainStorage.cs#L460)

```csharp
public static class CosmosStorageFactory
```

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

- [Create(IServiceProvider, string)](/orleans/docs/api/csharp/microsoft.orleans.persistence.cosmos/orleans.persistence.cosmos.cosmosstoragefactory/methods/create-system-iserviceprovider-string-ad19f9f1/)
