|
static List< Type > | GetTypesSafe (this Assembly assembly, Func< Type, bool > func=null) |
|
static MBList< T > | ToMBList< T > (this T[] source) |
|
static MBList< T > | ToMBList< T > (this List< T > source) |
|
static MBList< T > | ToMBList< T > (this IEnumerable< T > source) |
|
static void | AppendList< T > (this List< T > list1, List< T > list2) |
|
static MBReadOnlyDictionary< TKey, TValue > | GetReadOnlyDictionary< TKey, TValue > (this Dictionary< TKey, TValue > dictionary) |
|
static bool | HasAnyFlag< T > (this T p1, T p2) |
| Returns true only if any of the bits in param:flags is set in param:e. 1001.HasAnyFlag(1000) returns true. 1001.HasAnyFlag(1111) returns true.
|
|
static bool | HasAllFlags< T > (this T p1, T p2) |
| Behaves exactly like HasFlag. But faster (in release) because there is less check.
|
|
static int | GetDeterministicHashCode (this string text) |
|
static int | IndexOfMin< TSource > (this IReadOnlyList< TSource > self, Func< TSource, int > func) |
|
static int | IndexOfMin< TSource > (this MBReadOnlyList< TSource > self, Func< TSource, int > func) |
|
static int | IndexOfMax< TSource > (this IReadOnlyList< TSource > self, Func< TSource, int > func) |
|
static int | IndexOfMax< TSource > (this MBReadOnlyList< TSource > self, Func< TSource, int > func) |
|
static int | IndexOf< TValue > (this TValue[] source, TValue item) |
|
static int | FindIndex< TValue > (this IReadOnlyList< TValue > source, Func< TValue, bool > predicate) |
|
static int | FindIndex< TValue > (this MBReadOnlyList< TValue > source, Func< TValue, bool > predicate) |
|
static int | FindLastIndex< TValue > (this IReadOnlyList< TValue > source, Func< TValue, bool > predicate) |
|
static int | FindLastIndex< TValue > (this MBReadOnlyList< TValue > source, Func< TValue, bool > predicate) |
|
static void | Randomize< T > (this IList< T > array) |
|