C# Class AssetPackager.Assets.AssetList

Represents set of assets for CombineScripts.
Datei anzeigen Open project: kpumuk/assetpackager.net Class Usage Examples

Public Methods

Method Description
AddForcedAssets ( ICollection assets ) : ICollection

Adds forced assets to the assets list, and then appends assets from groups, that are exists in assets collection.

AssetList ( string name, bool force, string listType ) : System

Initializes a new instance of the AssetList class.

FindAsset ( string relativePath ) : Asset

Gets an Asset object for specified relative path.

FindAsset ( string relativePath, string assetNames ) : Asset

Gets an Asset object for specified relative path whoose name is in the assetNames list.

FindAssets ( string assetNames ) : ICollection

Gets a collection of Asset objects using names list.

Method Details

AddForcedAssets() public method

Adds forced assets to the assets list, and then appends assets from groups, that are exists in assets collection.
public AddForcedAssets ( ICollection assets ) : ICollection
assets ICollection Assets collection.
return ICollection

AssetList() public method

Initializes a new instance of the AssetList class.
public AssetList ( string name, bool force, string listType ) : System
name string Set name.
force bool When true all URLs will be forced to combine (see ).
listType string Short name of the asset list type (see ).
return System

FindAsset() public method

Gets an Asset object for specified relative path.
public FindAsset ( string relativePath ) : Asset
relativePath string Relative asset path to look for.
return Asset

FindAsset() public method

Gets an Asset object for specified relative path whoose name is in the assetNames list.
public FindAsset ( string relativePath, string assetNames ) : Asset
relativePath string Relative asset path to look for.
assetNames string A list of asset names to look where.
return Asset

FindAssets() public method

Gets a collection of Asset objects using names list.
public FindAssets ( string assetNames ) : ICollection
assetNames string A list of asset names.
return ICollection