CommonTools 0.0.21
dotnet add package CommonTools --version 0.0.21
NuGet\Install-Package CommonTools -Version 0.0.21
<PackageReference Include="CommonTools" Version="0.0.21" />
paket add CommonTools --version 0.0.21
#r "nuget: CommonTools, 0.0.21"
// Install CommonTools as a Cake Addin #addin nuget:?package=CommonTools&version=0.0.21 // Install CommonTools as a Cake Tool #tool nuget:?package=CommonTools&version=0.0.21
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:
- GetParameters
- UpdateParameter
- GetMembers
- GetMemberExpressions
- GetLeafMembers
- GetLeafMemberExpressions
- UpdateMembers
Multithreading
- ReadLock
- WriteLock
- UpgradeableLock
ReaderWriterLockSlim extensions
- UseReadLock
- UseWriteLock
- UseUpgradeableLock
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- JetBrains.Annotations (>= 8.0.5)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.21 | 114 | 3/26/2015 |
Expression visitors:
- GetMembersExpressionVisitor
- GetParametersExpressionVisitor
- UpdateMembersExpressionVisitor
- UpdateParametersExpressionVisitor
Expression extensions:
- GetParameters
- UpdateParameter
- GetMembers
- GetMemberExpressions
- GetLeafMembers
- GetLeafMemberExpressions
- UpdateMembers