C# 클래스 AssetPackager.Helpers.AssetsHelper

Contains helper methods for AssetList and Asset classes.
파일 보기 프로젝트 열기: kpumuk/assetpackager.net

공개 메소드들

메소드 설명
FindAssetList ( ICollection assetLists, string name ) : AssetList

Searches asset list in a collection of AssetList objects by name.

GetGroups ( ICollection urls ) : ICollection

Gets a list of groups that are defined for URLs in the specified list.

LoadAssets ( ) : ICollection

Load assets from ~/App_Data/AssetPackager.xml XML file.

SerializeAssets ( ICollection assets ) : string

Serializes a list of Asset objects into a string using URL names.

비공개 메소드들

메소드 설명
GetPage ( ) : Page
LoadAssetLists ( string configFile ) : List
ReadAsset ( XmlReader reader ) : Asset
ReadAssetList ( XmlReader reader ) : AssetList
ResolveAssetUrl ( string resourceName, string assembly, string type, string path ) : string

메소드 상세

FindAssetList() 공개 정적인 메소드

Searches asset list in a collection of AssetList objects by name.
public static FindAssetList ( ICollection assetLists, string name ) : AssetList
assetLists ICollection A collection of objects.
name string Asset list name.
리턴 AssetPackager.Assets.AssetList

GetGroups() 공개 정적인 메소드

Gets a list of groups that are defined for URLs in the specified list.
public static GetGroups ( ICollection urls ) : ICollection
urls ICollection URLs list.
리턴 ICollection

LoadAssets() 공개 정적인 메소드

Load assets from ~/App_Data/AssetPackager.xml XML file.
public static LoadAssets ( ) : ICollection
리턴 ICollection

SerializeAssets() 공개 정적인 메소드

Serializes a list of Asset objects into a string using URL names.
public static SerializeAssets ( ICollection assets ) : string
assets ICollection List of objects to serialize.
리턴 string