# SiloMemoryStreamConfigurator&lt;TSerializer&gt; Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.silomemorystreamconfigurator-1/)

## SiloMemoryStreamConfigurator&lt;TSerializer&gt;(string, Action&lt;Action&lt;IServiceCollection&gt;&gt;) {#constructor-string-system-action-system-action-microsoft-extensions-dependencyin-8995b6dc}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.silomemorystreamconfigurator-1/constructors/constructor-string-system-action-system-action-microsoft-extensions-dependencyin-8995b6dc/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/MemoryStreams/MemoryStreamBuilder.cs#L48-L51)

```csharp
public SiloMemoryStreamConfigurator(string name, Action<Action<IServiceCollection>> configureServicesDelegate)
```

Initializes a new instance of the `Orleans.Hosting.SiloMemoryStreamConfigurator-1` class.

### Parameters

- `name` (`string`): The stream provider name.
- `configureServicesDelegate` (`Action<Action<IServiceCollection>>`): The services configuration delegate.
