# ClientBuilderExtensions

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/Hosting/ClientBuilderExtensions.cs#L6)

```csharp
public static class ClientBuilderExtensions
```

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

- [AddEventHubStreams(IClientBuilder, string, Action&lt;EventHubOptions&gt;)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.clientbuilderextensions/methods/addeventhubstreams-this-orleans-hosting-iclientbuilder-string-system-action-orle-e66f0f95/)
- [AddEventHubStreams(IClientBuilder, string, Action&lt;IClusterClientEventHubStreamConfigurator&gt;)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.clientbuilderextensions/methods/addeventhubstreams-this-orleans-hosting-iclientbuilder-string-system-action-orle-6e6cbb1d/)
