# GeneratedBatchContainer.GetEvents

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.generator.generatedbatchcontainer/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.generator.generatedbatchcontainer/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Generator/Generators/GeneratedBatchContainer.cs#L61)

```csharp
public IEnumerable<Tuple<T, StreamSequenceToken>> GetEvents<T>()
```

Gets events of a specific type from the batch.
