# MemoryAdapterFactory&lt;TSerializer&gt;.Direction

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.memoryadapterfactory-1/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.memoryadapterfactory-1/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/MemoryStreams/MemoryAdapterFactory.cs#L52)

```csharp
public StreamProviderDirection Direction
```

Gets the direction of this queue adapter: [StreamProviderDirection](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamproviderdirection/), [StreamProviderDirection](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamproviderdirection/), or [StreamProviderDirection](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamproviderdirection/).

### Returns

The direction in which this adapter provides data.
