mPurchaseProductList

Summary

The list of purchase product.

Relation

mUniSm.Core.Internal.UIDataList
mPurchaseProductItem

Method

Create(mPurchaseProductType) Create a new list
op_Addition(mPurchaseProductList,mPurchaseProductItem) Add item.
op_Subtraction(mPurchaseProductList,mPurchaseProductItem) Remove item.
Each(System.Action{mPurchaseProductItem}) Foreach action like LINQ
SelectTask(System.Func{mPurchaseProductItem,mTask}) Create a task list in a way like the Select() method of LINQ
Select(System.Func{mPurchaseProductItem,mPurchaseProductItem}) Manipulate the list in a way like the Select() method of LINQ
Where(System.Func{mPurchaseProductItem,System.Boolean}) Filter the list in a way like the Where() method of LINQ
All(System.Func{mPurchaseProductItem,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any(System.Func{mPurchaseProductItem,System.Boolean}) Returns true if there is even one that meets the condition like the Any() method of LINQ
Limit(System.Int32) Filter list by number All elements above limitCount are truncated
First(System.Func{mPurchaseProductItem,System.Boolean}) Retrieve the first element that meets the condition
Last(System.Func{mPurchaseProductItem,System.Boolean}) Retrieve the last element that meets the condition
Distinct(System.String) Distincts by the specified key.
From(System.Byte[]) Deserialization byte array -> UIDataList
From(System.String) Deserialization string -> UIDataList
OrderByAsc(System.String) Sort in ascending order based on the given key
OrderByDesc(System.String) Sort in descending order based on the given key
ThenByAsc(System.String) Sort when the same value was set for the first sort (ascending order)
ThenByDesc(System.String) Sort when the same value was set for the first sort (descending order)
OrderByAsc(System.String,System.String,mListOrderBy) Sort in ascending order based on the given key
OrderByDesc(System.String,System.String,mListOrderBy) Sort in descending order based on the given key
Sort(System.Comparison{mPurchaseProductItem}) Sort according to user-defined processing
Shuffle(System.Int32,System.Int32) Shuffles the specified seed.
ChooseRandomly(System.String,System.Int32,System.Int32) Extract elements randomly from the list

Reference