C# Класс ValveResourceFormat.Resource

Represents a Valve resource.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
ConstructFromType ( string input ) : Block
ConstructResourceType ( ) : ValveResourceFormat.Blocks.ResourceData
DetermineResourceTypeByCompilerIdentifier ( SpecialDependencies input ) : ResourceType

Описание методов

Dispose() публичный Метод

Releases binary reader.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Read() публичный Метод

Reads the given Stream.
public Read ( Stream input ) : void
input Stream The input to read from.
Результат void

Read() публичный Метод

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.
Результат void

Resource() публичный Метод

Initializes a new instance of the Resource class.
public Resource ( ) : System
Результат System