Interface IDynamicDataSource
Represents a source of data that can dynamically provide multiple System.IO.Stream based on the parameters passed.
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public interface IDynamicDataSource
Methods
| Improve this Doc View SourceGetSource(ZipEntry, String)
Get a data source.
Declaration
Stream GetSource(ZipEntry entry, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ZipEntry | entry | The ZipEntry to get a source for. |
| System.String | name | The name for data if known. |
Returns
| Type | Description |
|---|---|
| System.IO.Stream | Returns a System.IO.Stream to use for compression input. |
Remarks
Ideally a new stream is created and opened to achieve this, to avoid locking problems.