# GeneratorAdapterFactory Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.generator.generatoradapterfactory/)

## GeneratorAdapterFactory(string, HashRingStreamQueueMapperOptions, StreamStatisticOptions, IServiceProvider, Serializer, ILoggerFactory) {#constructor-string-orleans-configuration-hashringstreamqueuemapperoptions-orlean-0e3f9588}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.generator.generatoradapterfactory/constructors/constructor-string-orleans-configuration-hashringstreamqueuemapperoptions-orlean-0e3f9588/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Generator/GeneratorAdapterFactory.cs#L78-L94)

```csharp
public GeneratorAdapterFactory(string providerName, HashRingStreamQueueMapperOptions queueMapperOptions, StreamStatisticOptions statisticOptions, IServiceProvider serviceProvider, Serializer serializer, ILoggerFactory loggerFactory)
```

### Parameters

- `providerName` (`string`)
- `queueMapperOptions` (`HashRingStreamQueueMapperOptions`)
- `statisticOptions` (`StreamStatisticOptions`)
- `serviceProvider` (`IServiceProvider`)
- `serializer` (`Serializer`)
- `loggerFactory` (`ILoggerFactory`)
