Found 10 packages
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
Helper functions to aid in argument validation for C# functions. Example Usage: Throw.IfNull(argument, nameof(argument)); Throw.IfNullOrEmpty(argument, nameof(argument));
Represents a validator that simplifies checking method and constructor arguments and throws the appropriate exceptions.
Contains an extension method for a System.Object that checks whether it is null and in case it is, throws an ArgumentNullException, otherwise returns the same instance.
This package is for projects on Microsoft Visual Studio 2015 to have design-time and compile-time warnings. It checks, that all reference parameters in methods and constructors have NotNull/CanBeNull attributes. You have to use Jetbrains.
Contains an extension method for System.String that checks whether it is null or empty and in case it is, throws an ArgumentNullException, otherwise returns the same instance.
Contains an extension method for System.String that checks whether it is null, empty or white-space and in case it is, throws an ArgumentNullException, otherwise returns the same instance.
GreenShell.NullChecker is a lightweight, re-usable way to validate that a created class has all of it's properties set. Useful when unit testing factory methods, or any methods that involve the creation of complex objects no matter how simple or convoluted.
Fluent API for Null checks.
Giving you helperfunctions for Asp.Net-Projects in addition to the ones from Asp.Net-WebPages-Lib