C# Class ValveResourceFormat.Resource

Represents a Valve resource.
Inheritance: IDisposable
Afficher le fichier Open project: SteamDatabase/ValveResourceFormat Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Releases binary reader.

Read ( Stream input ) : void

Reads the given Stream.

Read ( string filename ) : void

Opens and reads the given filename. The file is held open until the object is disposed.

Resource ( ) : System

Initializes a new instance of the Resource class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ConstructFromType ( string input ) : Block
ConstructResourceType ( ) : ValveResourceFormat.Blocks.ResourceData
DetermineResourceTypeByCompilerIdentifier ( SpecialDependencies input ) : ResourceType

Method Details

Dispose() public méthode

Releases binary reader.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Read() public méthode

Reads the given Stream.
public Read ( Stream input ) : void
input Stream The input to read from.
Résultat void

Read() public méthode

Opens and reads the given filename. The file is held open until the object is disposed.
public Read ( string filename ) : void
filename string The file to open and read.
Résultat void

Resource() public méthode

Initializes a new instance of the Resource class.
public Resource ( ) : System
Résultat System