# EventHubStreamConfiguratorExtensions

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

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming.EventHubs) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubStreamBuilder.cs#L12)

```csharp
public static class EventHubStreamConfiguratorExtensions
```

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

- [ConfigureEventHub(IEventHubStreamConfigurator, Action&lt;OptionsBuilder&lt;EventHubOptions&gt;&gt;)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.eventhubstreamconfiguratorextensions/methods/configureeventhub-this-orleans-hosting-ieventhubstreamconfigurator-system-action-02adbab8/)
- [UseDataAdapter(IEventHubStreamConfigurator, Func&lt;IServiceProvider, string, IEventHubDataAdapter&gt;)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.eventhubstreamconfiguratorextensions/methods/usedataadapter-this-orleans-hosting-ieventhubstreamconfigurator-system-func-syst-85a3dd8e/)
