C# Class AssetPackager.Assets.AssetList

Represents set of assets for CombineScripts.
Afficher le fichier Open project: kpumuk/assetpackager.net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat ICollection

AssetList() public méthode

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 ).
Résultat System

FindAsset() public méthode

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

FindAsset() public méthode

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.
Résultat Asset

FindAssets() public méthode

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