mDefineList

Summary

Class for creating user defined DataList Usually used as a scriptable object using mDataDefineList

Relation

UIDataList
mDefineItem

Constructor

#ctor( ) Initializes a new instance of the class.
#ctor(System.Int32) Initializes a new instance of the class.

Indexer

This[System.Int32] Gets or sets the with the specified key.
This[System.String] Gets or sets the with the specified key.

Property

Count Gets the count.

Method

Finalize( ) Finalizes an instance of the class.
GetResult( ) Gets the result.
op_Addition(mDefineList,mDefineItem) Add item.
op_Subtraction(mDefineList,mDefineItem) Remove item.
Validate(System.Boolean) Validate data
CreateEmpty(System.String) Initializes a new instance of the class.
Create(System.Collections.Generic.List{System.Object}) Initializes a new instance of the class.
GetEnumerator( ) Gets the enumerator.
Clear( ) Clears this instance.
Get(System.Func{mDefineItem,System.Boolean}) Gets or sets the at the specified predicate.
ContainsValue(mDefineItem) Check if an element with given value exists
ContainsPath(System.String) Check if an element with the given path exists
IndexOf(mDefineItem) Indexes the of.
RemoveAt(System.Int32) Removes at.
Clone<T>(System.String,System.Boolean) Create clone Path information and task status are cloned
Apply<T>(<T>,System.Boolean) Applies the specified source.
Add(mDefineItem) Adds the specified value.
Insert(System.Int32,mDefineItem) Insert the specified value.
Remove(System.String) Removes the specified path.
Remove(mDefineItem) Removes the specified path.
Remove(System.Func{mDefineItem,System.Boolean}) Remove all elements matching the condition
Each<T>(System.Action{mDefineItem}) Foreach action like LINQ
SelectTask<T>(System.Func{mDefineItem,mTask}) Create a task list in a way like the Select() method of LINQ
Select<T>(System.Func{mDefineItem,mDefineItem}) Manipulate the list in a way like the Select() method of LINQ
Where<T>(System.Func{mDefineItem,System.Boolean}) Filter the list in a way like the Where() method of LINQ
All<T>(System.Func{mDefineItem,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any<T>(System.Func{mDefineItem,System.Boolean}) Returns true if there is even one that meets the condition like the Any() method of LINQ
Limit<T>(System.Int32) Filter list by number All elements above limitCount are truncated
First<T>(System.Func{mDefineItem,System.Boolean}) Retrieve the first element that meets the condition
Last<T>(System.Func{mDefineItem,System.Boolean}) Retrieve the last element that meets the condition
Distinct<T>(System.String) Distincts by the specified key.
From<L>(System.Byte[]) Deserialization byte array -> UIDataList
From<L>(System.String) Deserialization string -> UIDataList
OrderByAsc<T>(System.String) Sort in ascending order based on the given key
OrderByDesc<T>(System.String) Sort in descending order based on the given key
ThenByAsc<T>(System.String) Sort when the same value was set for the first sort (ascending order)
ThenByDesc<T>(System.String) Sort when the same value was set for the first sort (descending order)
OrderByAsc<T>(System.String,System.String,mListOrderBy) Sort in ascending order based on the given key
OrderByDesc<T>(System.String,System.String,mListOrderBy) Sort in descending order based on the given key
Sort<T>(System.Comparison{mDefineItem}) Sort according to user-defined processing
Shuffle<T>(System.Int32,System.Int32) Shuffles the specified seed.
Apply(mDefineItem@,System.Func{mDefineItem,System.Boolean}) Search list and apply first found to value
SortAction(mDefineItem,mDefineItem) Sorts the action.
ChooseRandomly<T>(System.String,System.Int32,System.Int32) Extract elements randomly from the list
Each(System.Action{mDefineItem}) Foreach action like LINQ
SelectTask(System.Func{mDefineItem,mTask}) Create a task list in a way like the Select() method of LINQ
Select(System.Func{mDefineItem,mDefineItem}) Manipulate the list in a way like the Select() method of LINQ
Where(System.Func{mDefineItem,System.Boolean}) Filter the list in a way like the Where() method of LINQ
All(System.Func{mDefineItem,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any(System.Func{mDefineItem,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{mDefineItem,System.Boolean}) Retrieve the first element that meets the condition
Last(System.Func{mDefineItem,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{mDefineItem}) 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