OwlCore.Extensions
0.8.0
See the version list below for details.
dotnet add package OwlCore.Extensions --version 0.8.0
NuGet\Install-Package OwlCore.Extensions -Version 0.8.0
<PackageReference Include="OwlCore.Extensions" Version="0.8.0" />
paket add OwlCore.Extensions --version 0.8.0
#r "nuget: OwlCore.Extensions, 0.8.0"
// Install OwlCore.Extensions as a Cake Addin #addin nuget:?package=OwlCore.Extensions&version=0.8.0 // Install OwlCore.Extensions as a Cake Tool #tool nuget:?package=OwlCore.Extensions&version=0.8.0
A collection of exceptionally useful extension methods.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CommunityToolkit.Diagnostics (>= 8.2.2)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- OwlCore.ComponentModel (>= 0.8.0)
- System.Linq.Async (>= 6.0.1)
-
net7.0
- CommunityToolkit.Diagnostics (>= 8.2.2)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- OwlCore.ComponentModel (>= 0.8.0)
- System.Linq.Async (>= 6.0.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on OwlCore.Extensions:
Package | Downloads |
---|---|
OwlCore
Have you ever seen an owl do a barrel roll? Me neither. Essential supplemental tooling for .NET development. |
|
OwlCore.Kubo
An essential toolkit for Kubo, IPFS and the distributed web. |
|
OwlCore.Storage.CommonTests
Package Description |
|
OwlCore.Nomad.Storage
Package Description |
|
OwlCore.AbstractUI
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
--- 0.8.0 ---
[Breaking]
The Stream.ToBytes and Stream.ToBytesAsync method no longer try to read position or seek the stream internally. Instead, rewind the stream before using this extension method. This allows us to support non-seekable streams.
[Improvements]
Stream.ToBytesAsync now properly takes a cancellation token for the second parameter.
--- 0.7.0 ---
[Breaking]
Inherited breaking changes from OwlCore.ComponentModel 0.7.0. Removes transient dependency on OwlCore.Storage.
--- 0.6.0 ---
[New]
Added support for net7.0, including nullability improvements.
[Improvements]
DistinctBy is no longer enabled on .NET 6 or greater, removing warnings about ambiguous method calls.
--- 0.5.0 ---
[Fixed]
StreamExtensions.ToBytes and StreamExtensions.ToBytesAsync will no longer attempt to seek when not needed. If seeking is needed but isn't supported by the underlying stream, these extensions will now throw.
[New]
Added EnumerableExtensions.Batch. Yield an IEnumerable in batches instead of yielding one at a time.
--- 0.4.0 ---
[New]
Added AsyncEnumerableExtensions.Batch. Yield an IAsyncEnumerable in batches instead of yielding one at a time.
[Breaking]
Moved Zip extension from AsyncExtensions to new AsyncEnumerableExtensions.
--- 0.3.0 ---
[New]
OwlCore.Flow.EasySemaphore has been ported from the main package as an extension method, as OwlCore.Extensions.SemaphoreSlimExtensions.DisposableWaitAsync.
OwlCore.Flow.WhenCancelled has been ported from the main package as an extension method, as OwlCore.Extensions.AsyncExtensions.WhenCancelledAsync.
--- 0.2.0 ---
[Breaking]
object.Cast has been removed due to excessive interference with Linq. To migrate away from this extension method, use an explicit cast instead.
--- 0.1.0 ---
[Breaking]
CultureInfoExtensions.FromIso636_3(string) has been moved to CultureInfoExtensions.CultureInfoFromThreeLetterIso(string).
[Fix]
CultureInfoExtensions.CultureInfoFromThreeLetterIso(string) is now a proper extension method.
OwlCore.Extensions.GenericExtensions.Cast no longer prevents System.Linq.Enumerable.Cast from being usable when OwlCore.Extensions is referenced.
--- 0.0.0 ---
[New]
Initial separated package release of OwlCore.Extensions. Transferred from OwlCore 0.1.0.
[Breaking]
The Object.DeepCopy() extension method has been removed. It's slow and architecturally unfit for use.
ArrayExtensions.Traverse has been removed, as it was only needed for DeepCopy.
OwlCore.Validation.Mime.MimeTypeMap functionality has been moved to extension methods under StringExtensions.