CodeTiger.Core 2.0.0-beta01

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).

This is a prerelease version of CodeTiger.Core.
Install-Package CodeTiger.Core -Version 2.0.0-beta01
dotnet add package CodeTiger.Core --version 2.0.0-beta01
<PackageReference Include="CodeTiger.Core" Version="2.0.0-beta01" />
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-beta01
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

-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.

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.

Version History

Version Downloads Last updated
2.0.0-beta01 55 3/17/2019
1.2.0 3,144 5/13/2017
1.1.0 446 10/6/2016
1.0.1 437 10/8/2015
1.0.0 367 4/29/2015
1.0.0-rc1 274 4/5/2015