# SiloMemoryStreamConfigurator&lt;TSerializer&gt;

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/MemoryStreams/MemoryStreamBuilder.cs#L38)

```csharp
public class SiloMemoryStreamConfigurator<TSerializer> : SiloRecoverableStreamConfigurator, IMemoryStreamConfigurator, INamedServiceConfigurator, IPersistentStreamConfigurator, ISiloMemoryStreamConfigurator, ISiloPersistentStreamConfigurator, ISiloRecoverableStreamConfigurator
    where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer
```

Configures memory streams.

## Type parameters

- `TSerializer`: The message body serializer type, which must implement [IMemoryMessageBodySerializer](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.imemorymessagebodyserializer/).

## Constructors

- [SiloMemoryStreamConfigurator&lt;TSerializer&gt;(string, Action&lt;Action&lt;IServiceCollection&gt;&gt;)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.silomemorystreamconfigurator-1/constructors/constructor-string-system-action-system-action-microsoft-extensions-dependencyin-8995b6dc/)
