C# Класс Ironman.Core.Assets.AssetManager

Asset manager class
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AssetManager ( IEnumerable Filters, IEnumerable ContentFilters, IEnumerable Translators ) : System

Constructor

CreateBundles ( ) : void

Auto creates the bundles for the given directory

DetermineType ( string Path ) : AssetType

Determines the asset type

Process ( IList Assets, BundleResponse Response ) : void

Processes the assets

ToString ( ) : string

Exports info about the asset manager as a string

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

Метод Описание
CreateBundles ( Utilities.IO.DirectoryInfo Directory ) : void

Auto creates the bundles for the given directory

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

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

Constructor
public AssetManager ( IEnumerable Filters, IEnumerable ContentFilters, IEnumerable Translators ) : System
Filters IEnumerable The filters.
ContentFilters IEnumerable The content filters.
Translators IEnumerable The translators.
Результат System

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

Auto creates the bundles for the given directory
public CreateBundles ( ) : void
Результат void

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

Determines the asset type
public DetermineType ( string Path ) : AssetType
Path string Path to the asset
Результат AssetType

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

Processes the assets
public Process ( IList Assets, BundleResponse Response ) : void
Assets IList Assets to process
Response BundleResponse The bundle response
Результат void

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

Exports info about the asset manager as a string
public ToString ( ) : string
Результат string