## StreamSource class

Represents a stream source.

```csharp
public sealed class StreamSource : Source
```

## Constructors

| Name | Description |
| --- | --- |
| [StreamSource](streamsource/#constructor)(Stream) | Initializes a new instance of the `StreamSource` class. |
| [StreamSource](streamsource/#constructor_1)(Stream, bool) | Initializes a new instance of the `StreamSource` class. |

## Properties

| Name | Description |
| --- | --- |
| [DisposeStream](../../aspose.cad.sources/streamsource/disposestream/) { get; } | Gets a value indicating whether stream should be disposed whenever container gets disposed. |
| [Stream](../../aspose.cad.sources/streamsource/stream/) { get; } | Gets the stream. |

## Methods

| Name | Description |
| --- | --- |
| override [GetStreamContainer](../../aspose.cad.sources/streamsource/getstreamcontainer/)() | Gets the stream container. |

### See Also

* class [Source](../../aspose.cad.fileformats.collada.fileparser.elements/source/)
* namespace [Aspose.CAD.Sources](../../aspose.cad.sources/)
* assembly [Aspose.CAD](../../)

