CodeTiger.Core 2.0.0

A .NET library that provides a variety of reusable functionality, including packed integers (PackedInt16, PackedInt32, and PackedInt64), guard methods, various extension methods, and classes related to the Task Parallel Library (AsyncLazy, AsyncLock, AsyncAutoResetEvent, and AsyncManualResetEvent).

Install-Package CodeTiger.Core -Version 2.0.0
dotnet add package CodeTiger.Core --version 2.0.0
<PackageReference Include="CodeTiger.Core" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeTiger.Core --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

For 2.0.0:
-Changed target framework to netstandard2.0.
-Changed Guard methods to return the relevant value when the condition is met.
-Added a Contains extension method to determine whether one string contains another string while using a specified StringComparison value.
-Added FromInt16, FromInt32, and FromInt64 methods to PackedInt16, PackedInt32, and PackedInt64.
-Added the IEquatable<T> interface to PackedInt16, PackedInt32, and PackedInt64 classes.
-Moved exception messages to a resource file.
-Disposed of the CancellationTokenSource used by TaskExtensions.WithTimeout methods.
-Explicitly specified the task scheduler to use for several Task-related calls.
-Changed AsyncLazy to be sealed.
-Migrated the CodeTiger.Core NuGet package from PackageLicenseUrl and PackageIconUrl to PackageLicenseFile and PackageIcon.
-Changed the symbol package format of CodeTiger.Core to snupkg.
-Added SourceLink properties to the CodeTiger.Core NuGet package.

For 1.2.0:
-Added support for netstandard1.0 and portable-net45+win8+wpa81+wp8 frameworks.
-Added IsCompilerGenerated and IsStatic extension methods for System.Type and System.Reflection.TypeInfo.
-Added ArgumentIsWithinRange, ArgumentIsNotNullOrEmpty, ArgumentIsNotNullOrWhiteSpace, and ObjectHasNotBeenDisposed guard methods.
-Removed unnecessary Task.Run wrappers in synchronous methods of AsyncLock and AsyncWaitHandle.
-Changed TaskExtensions.WithTimeout implementations to use TaskContinuationOptions.ExecuteSynchronously for their continuations.
-Modified TaskExtensions.WithTimeout to use TaskContinuationOptions.DenyChildAttach and TaskScheduler.Default.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CodeTiger.Core:

Package Downloads
CodeTiger.Azure.Cosmos
A .NET library that provides additional functionality for interacting with Azure Cosmos DB.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 81 9/7/2020
2.0.0-beta13 194 2/12/2020
2.0.0-beta10 128 11/7/2019
2.0.0-beta09 114 11/7/2019
2.0.0-beta01 196 3/17/2019
1.2.0 23,339 5/13/2017
1.1.0 621 10/6/2016
1.0.1 628 10/8/2015
1.0.0 540 4/29/2015
1.0.0-rc1 442 4/5/2015