Table of Contents

Namespace Garyon.Extensions

Classes

BinaryRepresentationExtensions

Provides extensions for the binary representation of values.

BitVector32Extensions

Provides extensions for BitVector32.

BoolExtensions

Provides extensions for bool.

CachedCountEnumerable

An IEnumerable wrapper that provides the ability to cache the count of the underlying enumerable, and also provide the real-time lower bound of the count while enumerating.

CachedCountEnumerable<T>

An IEnumerable<T> wrapper that provides the ability to cache the count of the underlying enumerable, and also provide the real-time lower bound of the count while enumerating.

CancellationTokenExtensions

Provides extensions for CancellationToken.

CancellationTokenSourceExtensions

Provides extensions for CancellationTokenSource.

CharExtensions

Provides extensions for the char type.

CloningExtensions

Provides extensions for the ICloneable and ICloneable<T> interfaces.

CollectionToStringExtensions
ConcurrentBagExtensions

Provides extensions for the ConcurrentBag<T> type.

ConfigureAwaitFalseExtensions
DataSetExtensions

Provides extensions for DataSet and relevant types.

DateTimeExtensions

Provides extension functions for the DateTime struct.

DayOfWeekExtensions

Provides extensions for the DayOfWeek enum.

DbDataReaderExtensions

Provides extensions for DbDataReader.

DictionaryEntryExtensions

Provides extensions for the DictionaryEntry struct.

DirectoryInfoExtensions

Contains extensions for the DirectoryInfo class.

DriveInfoExtensions
EarlyTerminatingLinqExtensions

Contains a collection of early-termiating LINQ-like extensions.

EncodingExtensions
EnumerableCartesianProducts

Provides extensions for generating Cartesian products from collections.

EnumerableExtremumExtensions

Provides extensions related to getting the extremum of a collection.

EnumerableProducts

Contains extensions for calculating the product of a collection.

ExtendedDateTimeExtensions

Contains extensions focused on interoperability between DateTime, DateTimeOffset, DateOnly and TimeOnly.

FileInfoExtensions

Contains extensions for the FileInfo class.

FileSystemInfoExtensions

Contains extensions for the FileSystemInfo class.

GeneralCollectionExtensions

Provides general collection extensions.

GeneralObjectExtensions

Provides general extensions for all objects.

HashCodeExtensions

Provides extensions for the HashCode struct.

IAsyncEnumerableExtensions

Contains extension functions for the IAsyncEnumerable<T> interface.

ICollectionExtensions

Contains extension functions for the ICollection<T> interface.

IComparableExtensions

Provides extension methods for the IComparable and IComparable<T> interfaces.

IDictionaryExtensions

Provides useful extensions for the IDictionary<TKey, TValue> and IDictionary types.

IEnumerableExtensions

Contains extensions for the IEnumerable<T> interface.

IEnumeratorExtensions

Contains extension methods for the IEnumerator<T> interface.

IListExtensions

Provides extension methods for the IList<T> interface.

IQueryableExtensions

Contains extensions for the IQueryable<T> interface.

IReadOnlyCollectionExtensions
IndexExtensions

Provides extension functions for the Index type.

InterlockedExtensions

Provides extensions to the Interlocked type.

KeyValuePairExtensions

Provides extensions for the KeyValuePair<TKey, TValue> struct.

ListExtensions

Provides extension methods for the List<T> class.

ListPatternExtensions

Provides extensions for commonly-known types using list patterns.

MoreLinqExtensions

Provides more LINQ-like extensions that are not that likely to be considered candidates for being imported into System.Linq.

NonGenericICollectionExtensions
NotifyPropertyChangedExtensions

Provides extensions for INotifyPropertyChanged, INotifyPropertyChanged and their related types.

NumericExtensions

Contains extension methods for numeric structures.

ObservableExtensions

Provides extensions for the observable models.

OfTypeEnumerableExtensions

Provides extensions for type filtering on IEnumerable<T>.

PendingLinqExtensions

Contains functions proposed to be added to LINQ but were not.

ProcessExtensions

Provides extensions for Process.

QueueExtensions

Provides extensions for the Queue<T> class.

RangeExtensions

Provides extensions for the Range struct.

ReadOnlySpanExtensions
RegexExtensions

Provides extensions for Regex.

RepeatExtensions
SpanExtensions

Provides extensions for the Span<T> and ReadOnlySpan<T> types.

SpanLineEnumeratorExtensions

Provides extensions for SpanLineEnumerator.

SpanStringExtensions

Provides extensions for the ReadOnlySpan<T> type.

SpanStringSelectors
StackExtensions

Provides extensions for the Stack<T> class.

StaticEnumerableExtensions
StreamExtensions

Provides extensions for the Stream class.

StringBuilderExtensions

Provides extension methods for the StringBuilder class.

StringExtensions

Provides extension methods for the string class.

StringOperatorExtensions
StringReplacementExtensions
TaskAwaiting

Provides functions for awaiting tasks.

TimeSpanExtensions

Provides extensions for the TimeSpan struct.

ToCollectionExtensions

Contains extensions related to converting IEnumerable<T> instances into collections.

UnaryOperatorExtensions

Provides inline extensions for applying unary operators.

UnsafeExtensions

Provides extensions for unsafe context.

Structs

RepeatedChar
RepeatedString
SpanExtensions.SplitSpanEnumerator<TSource>
StringReplacement

Enums

AffixType

Specifies which affix should be ensured for a string.

DateTimeComponent

Represents a component in the DateTime struct.

DriveFormatType

Contains the known drive format types, including FAT, FAT32, NTFS, UDF, APFS and more.

TimeSpanComponent

Represents a component in the TimeSpan struct.

Delegates

SpanExtensions.ReadOnlySpanSelector<TSource, TResult>

Defines a selector delegate that converts a span of values into another value.

SpanStringSelector<T>

Defines a selector delegate that converts a ReadOnlySpan<T> into a value.