collectionExtensions Methods |
The collectionExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| AddAtEndT | ||
| AddAtIndexT | ||
| AddAtKeyT | ||
| AddMulti |
Adds the specified input/s - if exists skips
| |
| AddMultiline | ||
| AddMultiple |
Adds the specified input/s - if exists skips
| |
| AddRangeT(ICollectionT, IEnumerableT, Boolean) |
Adds (optionally: unique) values from the specified range
| |
| AddRangeT(StackT, IEnumerableT, Boolean) |
Adds (optionally: unique) values from the specified range:
| |
| AddRangeImb |
Dodaje niz objekata u niz ukoliko ih vec ne sadrzi lista - vraca podatak koliko je novih objekata ubaceno
| |
| AddResources |
Adds the resources.
| |
| AddUnique |
Adds the specified input/s - if exists skips
| |
| autoDefaultValuesT, D |
Automatics the default values.
| |
| CompareKeyValuePairsT(KeyValuePairT, Double, KeyValuePairT, Double) | ||
| CompareKeyValuePairsT(KeyValuePairT, Int32, KeyValuePairT, Int32) | ||
| ConvertIListTSource, TTarget |
Converts an IList to List
| |
| ConvertListTSource, TTarget | ||
| ConvertToListTTarget | ||
| convertValueToString |
Converts the value to string.
| |
| count |
Universal counting
| |
| extractNumbers | ||
| getAllEnums |
Gathers all enumerations found in the collection
| |
| getAllOfTypeT |
Gets the first instance of type in supplied collection. makeNewIfNotFound | |
| getAndRemoveAllIfExists |
Gets the and remove all if any exists
| |
| getAndRemoveIfExists |
Returns TRUE and removes the first key found in source list
| |
| getCountOf |
Gets the count of Boolean items that has value same as valueToCount | |
| GetCrossSectionTItem |
Gets the cross section: only items that are in common to all collections
| |
| GetDifferenceTItem | ||
| getEntrySafeT(IDictionary, Object, T) | ||
| getEntrySafeTKey, T(IDictionaryTKey, T, TKey, T) | ||
| getFirstFromDictionaryT | ||
| getFirstOfTypeT |
Gets the first instance that is compatibile with T in supplied collection. Supports PropertyCollection and other collections
| |
| getFirstSafe |
Gets the first safe.
| |
| getFlatArrayT | ||
| getFlatListT | ||
| GetNextKeyT | ||
| GetUnionTItem | ||
| imbFirstOrMoreT |
Vraca jedan ili vise resursa koji ispunjavaju uslov
| |
| imbFirstSafe(IEnumerable, Int32) |
Imbs the first safe.
| |
| imbFirstSafeT(IEnumerableT, FuncT, Boolean) |
Proverava uslov
| |
| imbFirstSafeT(IEnumerableT, Int32) |
Proverava uslov
| |
| imbGetIndexOf |
Gets index of item in an unknown enumeration
| |
| imbGetItemAt |
Universal method for getting element out of unknown IEnumerable | |
| imbLastSafeT |
Imbs the last safe.
| |
| isNullOrEmpty |
Proverava da li je kolekcija null ili bez clanova
| |
| makeUniqueDictionaryName |
Makes a new Key for the dictionary by using proposal + _ count
| |
| Poke |
Pokes the specified dictionary -- fake method just to trigger lazy initialization
| |
| PopT | ||
| RandomizeT |
Randomizes order of items in the specified list.
| |
| RandomizeToListT |
Returns a new list where the elements are randomly shuffled.
Based on the Fisher-Yates shuffle, which has O(n) complexity.
| |
| takeFirstFromListT(IEnumerableT, T) |
Vraca prvi element koji je pronadjen u ulaznom skupu - default vraca prvi element matchList
| |
| takeFirstFromListT(IEnumerableT, IEnumerableT, T) |
Vraca prvi objekat koji se nalazi i u ovom skupu i u matchList skupu
| |
| takeItemAtT |
Vraca objekat iz liste - sa trazene index lokacije koja lupuje
| |
| takeItemRelativeToT |
Vraca item koji je na relativnoj lokaciji od relativeTo, podrzava lupovanje u oba smera
| |
| toArrayWithThisOneT | ||
| toListT |
Konvertuje niz u listu
| |
| toListWithThisOneT |
Pravi List instancu i ubacuje ovaj objekat kao prvi element
| |
| toSortedKeyValueListT |
To the sorted list of Keys from IDictionary where Keys are instances and Values are number fo sort by
| |
| toSortedListT(IDictionaryT, Double) | ||
| toSortedListT(IDictionaryT, Int32) |
To the sorted list of Keys from IDictionary where Keys are instances and Values are number fo sort by
| |
| writeIndexOutOfT |
Writes the index out of.
| |
| writeListOfCollectionT |
Vraca listu sa rednim brojem i ToString() vrednost
|