C# Class Ironman.Core.Assets.AssetManager

Asset manager class
Show file Open project: JaCraig/Craig-s-Utility-Library Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
CreateBundles ( Utilities.IO.DirectoryInfo Directory ) : void

Auto creates the bundles for the given directory

Method Details

AssetManager() public method

Constructor
public AssetManager ( IEnumerable Filters, IEnumerable ContentFilters, IEnumerable Translators ) : System
Filters IEnumerable The filters.
ContentFilters IEnumerable The content filters.
Translators IEnumerable The translators.
return System

CreateBundles() public method

Auto creates the bundles for the given directory
public CreateBundles ( ) : void
return void

DetermineType() public method

Determines the asset type
public DetermineType ( string Path ) : AssetType
Path string Path to the asset
return AssetType

Process() public method

Processes the assets
public Process ( IList Assets, BundleResponse Response ) : void
Assets IList Assets to process
Response BundleResponse The bundle response
return void

ToString() public method

Exports info about the asset manager as a string
public ToString ( ) : string
return string