The following tables list the members exposed by CoreUtilities.
Name | Description | |
---|---|---|
![]() | CoreUtilities Constructor | For internal use |
Name | Description | |
---|---|---|
![]() ![]() | BuildEmbeddedResourceUri | Creates a Uri for a resource embedded in an assembly |
![]() ![]() | ConvertDataValue | Converts 'valueToConvert' to an object of the type 'convertToType'. If it cannot perform the conversion it returns null. It makes use of any formatting information provided passed in. |
![]() ![]() | CreateComparer | Overloaded. Creates an IComparer that wraps the specified comparison. |
![]() ![]() | GetUnderlyingType | Takes a Type and returns the underlying (non-nullable) type, if the Type is nullable. If the specified type is not nullable, then the passed-in type is returned. |
![]() ![]() | GetWeakReferenceTargetSafe | Wraps the 'get' of the Target property in a try/catch to prevent unhandled exceptions |
![]() ![]() | RemoveAll | Overloaded. Removes all occurrences of itemToRemove from list. |
![]() ![]() | SortMerge | Overloaded. Sorts the passed in array based on the passed in comparer using a modified merge-sort algorithm. It requires allocation of an array equal in size to the array to be sorted. Merge sort should be used if the operation of comparing items is expensive. |
![]() ![]() | SortMergeGeneric | Overloaded. Sorts the passed in list based on the passed in comparer using a modified merge-sort algorithm. |
![]() ![]() | Swap<T> | Swaps values in a list at specified indexes. |