CodeTiger.Core 2.0.0-beta13

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-beta13
dotnet add package CodeTiger.Core --version 2.0.0-beta13
<PackageReference Include="CodeTiger.Core" Version="2.0.0-beta13" />
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-beta13
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.
-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.
-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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0-beta13 120 2/12/2020
2.0.0-beta10 64 11/7/2019
2.0.0-beta09 53 11/7/2019
2.0.0-beta01 121 3/17/2019
1.2.0 15,389 5/13/2017
1.1.0 544 10/6/2016
1.0.1 551 10/8/2015
1.0.0 470 4/29/2015
1.0.0-rc1 373 4/5/2015