# SimpleGeneratorOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.simplegeneratoroptions/)

## EventsInStream {#eventsinstream-4e42bbf4}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.simplegeneratoroptions/properties/eventsinstream-4e42bbf4/)

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

```csharp
[Orleans.Id(1)]
public int EventsInStream
```

Gets or sets the number of events to generate.

### Value

The number of events to generate.

## StreamGeneratorType {#streamgeneratortype-46ba9e24}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.simplegeneratoroptions/properties/streamgeneratortype-46ba9e24/)

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

```csharp
public Type StreamGeneratorType
```

Gets the stream generator type

### Value

The type of the stream generator.

## StreamNamespace {#streamnamespace-8ddd6609}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.simplegeneratoroptions/properties/streamnamespace-8ddd6609/)

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

```csharp
[Orleans.Id(0)]
public string StreamNamespace
```

Gets or sets the stream namespace.

### Value

The stream namespace.
