CommonTools 0.0.1602.2603

Fluent Null check
- With
- Return
- If
- Unless
- Do
- As<>
- AsNullable<>
- Cast<>
- SilentCast<>
- TryWith
- TryReturn
- TryDo
-Throw

Check argument and throw exception
- ShouldnotBeNull
- ShouldHaveValue (for T?)
- ShouldBeInRange
- ShouldnotBeInRange
- ShouldBeAtLeast
- ShouldBeAtMost
- ShouldSatisfyCondition

Enumerable extensions
- ForEach
- In
- Iterate

String extensions
- IsNullOrEmpty
- IsNullOrWhitespace
- FillFormat
- JoinToString
- JoinNotEmptyToString
- JoinNotBlankToString
- ConcatToString
- Parse<T>

Enum extensions
- GetAttribute<T>
- GetAttributes<T>
- GetDescription
- GetDescriptionOrValue

Reflection extensions
- GetUnderlyingType
- GetMemberValueExpression

Expression visitors:
- GetMembersExpressionVisitor
- GetParametersExpressionVisitor
- UpdateMembersExpressionVisitor
- UpdateParametersExpressionVisitor

Expression extensions:
- AndAlso
- OrElse
- GetParameters
- UpdateParameter
- GetMembers
- GetMemberExpressions
- GetLeafMembers
- GetLeafMemberExpressions
- UpdateMembers

Multithreading
- ReadLock
- WriteLock
- UpgradeableLock
- ReaderWriterLockAsync

ReaderWriterLockSlim extensions
- UseReadLock
- UseWriteLock
- UseUpgradeableLock

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

Release Notes

Multithreading
- ReaderWriterLockAsync

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.1602.2603 21,162 2/26/2016
0.0.1602.2602 511 2/26/2016
0.0.1602.2601 505 2/26/2016
0.0.1602.2519 500 2/25/2016
0.0.1602.2505 477 2/25/2016
0.0.1602.2502 555 2/25/2016