# Copier_EventHubBatchContainer Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.copier-eventhubbatchcontainer/)

## DeepCopy(EventHubBatchContainer, CopyContext) {#deepcopy-orleans-streaming-eventhubs-eventhubbatchcontainer-orleans-serializatio-5a071269}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.copier-eventhubbatchcontainer/methods/deepcopy-orleans-streaming-eventhubs-eventhubbatchcontainer-orleans-serializatio-5a071269/)

```csharp
public EventHubBatchContainer DeepCopy(EventHubBatchContainer original, CopyContext context)
```

Creates a deep copy of the provided input.

### Parameters

- `original` (`EventHubBatchContainer`): The input.
- `context` (`CopyContext`): The context.

### Returns

A copy of `input`.

## DeepCopy(EventHubBatchContainer, EventHubBatchContainer, CopyContext) {#deepcopy-orleans-streaming-eventhubs-eventhubbatchcontainer-orleans-streaming-ev-96b35ba1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.copier-eventhubbatchcontainer/methods/deepcopy-orleans-streaming-eventhubs-eventhubbatchcontainer-orleans-streaming-ev-96b35ba1/)

```csharp
public void DeepCopy(EventHubBatchContainer input, EventHubBatchContainer output, CopyContext context)
```

Clones members from `input` and copies them to `output`.

### Parameters

- `input` (`EventHubBatchContainer`): The input.
- `output` (`EventHubBatchContainer`): The output.
- `context` (`CopyContext`): The context.
