Namespace Plugin.BaseTypeExtensions
Classes
- AssemblyExtensions
Provides extension methods for Assembly operations, including manifest resource extraction.
- ByteExtensions
Utility method for bytes and byte-arrays.
- CancellationTokenExtensions
Provides extension methods for CancellationToken operations and utility functions.
- ComparableExtensions
Provides extension methods for types implementing IComparable<T> for range checking and comparison operations.
- ComparableTools
Provides helper methods for working with types implementing IComparable<T>.
- DateOnlyExtensions
Provides extension methods for DateOnly operations, such as range checks and percentage calculations.
- DateTimeExtensions
Provides extension methods for DateTime operations, such as range checks and percentage calculations.
- DictionaryExtensions
Provides extension methods for working with IDictionary<TKey, TValue> and related dictionary types.
- EnumExtensions
Provides extension methods for working with enum types, including flag manipulation and description retrieval.
- EnumerableExtensions
Provides extension methods for working with IEnumerable and IEnumerable<T>.
- ExceptionExtensions
Provides extension methods for Exception analysis and utility functions.
- GuidExtensions
Provides extension methods for Guid manipulation.
- ListExtensions
Provides extension methods for IList<T> to support advanced update and pairing operations.
- NumericExtensions
Provides extension methods for generic numeric operations, including angle conversions, clamping, and percentage calculations.
- NumericRangeTools
Provides utility methods for numeric range conversions, percentage calculations, and value mapping operations.
- RandomExtensions
Provides extension methods for the Random class.
- ReflectionExtensions
Provides extension methods for advanced reflection operations, including event field manipulation, hierarchy traversal, and assembly operations.
- StreamExtensions
Provides extension methods for Stream operations and utility functions.
- StringExtensions
Provides extension methods for string manipulation and utility functions.
- TaskCompletionSourceExtensions
A family of extension methods that ensure that the TaskCompletionSource is properly cleaned up in the case of a timeout either from the cancellation token or the timeout specified.
Always bear in mind that if the TaskCompletionSource is never completed, its task will never complete. Even though the underlying Task is not actually in a "scheduler" (since TCS tasks are Promise Tasks) never completing tasks, of any type, is generally considered a bug.
- TaskExtensions
Provides extension methods for working with Task and Task<TResult> objects, including fire-and-forget and timeout patterns.
- TimeOnlyExtensions
Provides extension methods for TimeOnly operations, such as range checks and percentage calculations.
- TimeSpanExtensions
Provides extension methods for TimeSpan operations and utility functions.
- UriExtensions
Provides extension methods for Uri manipulation and utility functions.
- VersionExtensions
Provides extension methods for Version manipulation.
Enums
- AssemblyExtensions.FileAlreadyExistsBehavior
Defines behavior when a target file already exists during resource extraction.