CommonTools 0.0.1602.2602

Common Tools

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

There is a newer version of this package available.
See the version list below for details.
Install-Package CommonTools -Version 0.0.1602.2602
dotnet add package CommonTools --version 0.0.1602.2602
<PackageReference Include="CommonTools" Version="0.0.1602.2602" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommonTools --version 0.0.1602.2602
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Multithreading
- ReaderWriterLockAsync

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.1602.2603 8,383 2/26/2016
0.0.1602.2602 301 2/26/2016
0.0.1602.2601 303 2/26/2016
0.0.1602.2519 297 2/25/2016
0.0.1602.2505 272 2/25/2016
0.0.1602.2502 359 2/25/2016