CommonTools 0.0.1602.2603
dotnet add package CommonTools --version 0.0.1602.2603
NuGet\Install-Package CommonTools -Version 0.0.1602.2603
<PackageReference Include="CommonTools" Version="0.0.1602.2603" />
paket add CommonTools --version 0.0.1602.2603
#r "nuget: CommonTools, 0.0.1602.2603"
// Install CommonTools as a Cake Addin
#addin nuget:?package=CommonTools&version=0.0.1602.2603
// Install CommonTools as a Cake Tool
#tool nuget:?package=CommonTools&version=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
Product | Versions |
---|---|
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
Universal Windows Platform | uap uap10.0 |
-
- JetBrains.Annotations (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.1602.2603 | 23,744 | 2/26/2016 |
0.0.1602.2602 | 1,473 | 2/26/2016 |
0.0.1602.2601 | 1,172 | 2/26/2016 |
0.0.1602.2519 | 1,411 | 2/25/2016 |
0.0.1602.2505 | 1,148 | 2/25/2016 |
0.0.1602.2502 | 1,379 | 2/25/2016 |
Multithreading
- ReaderWriterLockAsync