AssetPackager.Helpers.AssetsHelper.FindAssetList C# (CSharp) 메소드

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
		public static AssetList FindAssetList(ICollection<AssetList> assetLists, string name)
		{
			foreach (AssetList assetList in assetLists)
			{
				if (String.Compare(name, assetList.Name, StringComparison.OrdinalIgnoreCase) == 0)
					return assetList;
			}
			return null;
		}