Class StaticDiskDataSource
Default implementation of a IStaticDataSource for use with files stored on disk.
Inheritance
System.Object
StaticDiskDataSource
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public class StaticDiskDataSource : IStaticDataSource
Constructors
| Improve this Doc View SourceStaticDiskDataSource(String)
Initialise a new instance of StaticDiskDataSource
Declaration
public StaticDiskDataSource(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | The name of the file to obtain data from. |
Methods
| Improve this Doc View SourceGetSource()
Get a System.IO.Stream providing data.
Declaration
public Stream GetSource()
Returns
Type | Description |
---|---|
System.IO.Stream | Returns a System.IO.Stream providing data. |