Contains general library classes. Some of them are just additions to the standard .NET classes providing better performance, such as the generic
EnumTEnum and EnumComparerTEnum classes.
Some others provide new functionality, such as the HiResTimer class.
Additionally, contains many extensions to many classes including the Enum, Type, Random types as well as several
primitive types and many other.
Classes
Class | Description | |
---|---|---|
![]() | ByteArrayExtensions |
Contains extension methods for the byte[] type.
|
![]() | CharExtensions |
Contains extension methods for the char type.
|
![]() | CollectionExtensions |
Contains extension methods for the ICollectionT type.
|
![]() | DateTimeExtensions |
Contains extension methods for the DateTime type.
|
![]() | DecimalExtensions |
Contains extension methods for the decimal type.
|
![]() | DictionaryExtensions |
Contains extension methods for the IDictionaryTKey, TValue type.
|
![]() | DoubleExtensions |
Contains extension methods for the double type.
|
![]() | EnumTEnum | |
![]() ![]() | EnumComparerTEnum |
Provides an efficient IEqualityComparerT and IComparerT implementation for Enum types.
Can be used for example in DictionaryTKey, TValue, SortedListTKey, TValue or CacheTKey, TValue instances with enum key,
or as a comparer for List<T>.Sort(IComparer<T>) method to sort enum elements.
|
![]() | EnumerableExtensions |
Contains extension methods for the IEnumerableT type.
|
![]() | EnumExtensions |
Contains extension methods for the Enum type.
|
![]() | EventArgsT |
Represents a simple event argument of type T.
|
![]() | Files |
Contains file-related methods.
|
![]() | FloatExtensions |
Contains extension methods for the float type.
|
![]() | GenerateObjectSettings |
Represents the settings for generating an object by the NextObject extension methods.
|
![]() | HiResTimer |
Represents a high resolution timer that allows precise timing even with sub-milliseconds intervals.
The timer executes on a separated high priority thread.
|
![]() | HiResTimerElapsedEventArgs |
Provides data for the HiResTimer.Elapsed event.
|
![]() | ListExtensions |
Contains extension methods for the IListT type.
|
![]() | ObjectExtensions |
Contains extension methods for the Object type.
|
![]() ![]() | RandomExtensions |
Contains extension methods for the Random type.
See the Examples section for an example. |
![]() | StreamExtensions |
Contains extension methods for the Stream type.
|
![]() | StringExtensions |
Contains extension methods for the string type.
|
![]() | ThreadSafeRandom |
Represents a thread-safe pseudo-random number generator.
Provides also a shared instance accessible via the static Instance property.
|
![]() | TypeExtensions |
Contains extension methods for the Type type.
|
![]() | WaitHandleExtensions |
Contains extension methods for the WaitHandle type.
|
Structures
Structure | Description | |
---|---|---|
![]() | RangeT |
Represents a range with lower and upper bounds.
|
Delegates
Delegate | Description | |
---|---|---|
![]() | Conversion |
Represents a delegate for a type conversion. A conversion can be registered by the RegisterConversion extension method.
|
![]() | ConversionAttempt |
Represents a delegate for a type conversion attempt. A conversion can be registered by the RegisterConversion extension method.
|
Enumerations
Enumeration | Description | |
---|---|---|
![]() | EnumFormattingOptions |
Formatting options for the Enum<TEnum>.ToString(TEnum, EnumFormattingOptions, string) method.
|
![]() | FloatScale |
Represents the scaling strategy when generating random floating-point numbers.
|
![]() | ObjectInitialization |
Represents a strategy for initializing types when generating random objects.
|
![]() | StringCreation |
Represents a strategy for generating random strings.
|
![]() | TypeNameKind |
Represents name formatting options for the TypeExtensions.GetName methods.
|