C# Class OpenRA.FileSystem.ZipFile

Inheritance: IFolder
Exibir arquivo Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
Contains ( string filename ) : bool
Create ( string filename, IReadWritePackage parent ) : ZipFile
Delete ( string filename ) : void
Dispose ( ) : void
GetStream ( string filename ) : Stream
Update ( string filename, byte contents ) : void
ZipFile ( IReadOnlyFileSystem context, string filename ) : System.Collections
ZipFile ( Stream stream, string name, IReadOnlyPackage parent = null ) : System.Collections

Private Methods

Method Description
Commit ( ) : void
ZipFile ( ) : System.Collections
ZipFile ( string filename, IReadWritePackage parent ) : System.Collections

Method Details

Contains() public method

public Contains ( string filename ) : bool
filename string
return bool

Create() public static method

public static Create ( string filename, IReadWritePackage parent ) : ZipFile
filename string
parent IReadWritePackage
return ZipFile

Delete() public method

public Delete ( string filename ) : void
filename string
return void

Dispose() public method

public Dispose ( ) : void
return void

GetStream() public method

public GetStream ( string filename ) : Stream
filename string
return System.IO.Stream

Update() public method

public Update ( string filename, byte contents ) : void
filename string
contents byte
return void

ZipFile() public method

public ZipFile ( IReadOnlyFileSystem context, string filename ) : System.Collections
context IReadOnlyFileSystem
filename string
return System.Collections

ZipFile() public method

public ZipFile ( Stream stream, string name, IReadOnlyPackage parent = null ) : System.Collections
stream System.IO.Stream
name string
parent IReadOnlyPackage
return System.Collections