C# Класс Glare.Assets.DataAsset

An asset that can be loaded as binary data, which is then loaded as data.
Наследование: Asset
Показать файл Открыть проект

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

Метод Описание
Browse ( Action progressUpdateCallback = null ) : Control

Browse the contents.

BrowseContents ( Action progressUpdateCallback = null ) : Control

Browse the contents.

DataAsset ( FolderAsset parent, string name, string description = null ) : System

Initialise the data asset.

FillContextMenu ( ContextMenuStrip strip ) : void

Fill out a context menu.

Open ( ) : Stream

Open a stream to the data.

OpenReader ( ) : BinaryReader

Open a binary reader for the stream.

OpenReader ( ByteOrder byteOrder ) : BinaryReader

Open a binary reader for the stream.

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

Метод Описание
Load ( ) : Asset

Load the data.

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

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

Browse the contents.
public Browse ( Action progressUpdateCallback = null ) : Control
progressUpdateCallback Action
Результат System.Windows.Forms.Control

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

Browse the contents.
public BrowseContents ( Action progressUpdateCallback = null ) : Control
progressUpdateCallback Action
Результат System.Windows.Forms.Control

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

Initialise the data asset.
public DataAsset ( FolderAsset parent, string name, string description = null ) : System
parent FolderAsset
name string
description string
Результат System

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

Fill out a context menu.
public FillContextMenu ( ContextMenuStrip strip ) : void
strip System.Windows.Forms.ContextMenuStrip
Результат void

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

Load the data.
protected Load ( ) : Asset
Результат Asset

Open() публичный абстрактный Метод

Open a stream to the data.
public abstract Open ( ) : Stream
Результат Stream

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

Open a binary reader for the stream.
public OpenReader ( ) : BinaryReader
Результат System.IO.BinaryReader

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

Open a binary reader for the stream.
public OpenReader ( ByteOrder byteOrder ) : BinaryReader
byteOrder ByteOrder
Результат System.IO.BinaryReader