GuardClauses icon indicating copy to clipboard operation
GuardClauses copied to clipboard

A simple package with guard clause extensions.

Results 32 GuardClauses issues
Sort by recently updated
recently updated
newest added
trafficstars

Rather than building for .NET 7 instead of .NET 6, how about supporting .NET 6, .NET 7 AND .NET 8 since all are currently supported frameworks? I did a local...

Currently when using the expression guard you have to write code like this: ```csharp Guard.Against.AgainstExpression(x => false, input, "error"); ``` which obviously has "Against" in it twice and comes across...

bug
help wanted
good first issue
.NET

I'm using rider and I'm also using Moq and there is great plugin called [MoqComplete](https://github.com/Abc-Arbitrage/Abc.MoqComplete). I think that GuardComplete plugin could also be good one.

enhancement
help wanted

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3 to 6. Release notes Sourced from dawidd6/action-download-artifact's releases. v6 Full Changelog: https://github.com/dawidd6/action-download-artifact/compare/v5...v6 v5 Full Changelog: https://github.com/dawidd6/action-download-artifact/compare/v4...v5 v4 What's Changed VERSIONING CHANGE: now there will only be...

dependencies
github_actions

It would be good to have an OutOfRange for SmartEnums the same as regular Enums.

### Environment - Windows 22H2 - .NET SDK Version: 8.07 ### Subject of the issue Where there is a hierarchy of code that use `Ardalis.GuardClauses` updating the top level package,...

See: https://github.com/mrsauravsahu/semver-gitversion/blob/main/.github/workflows/gitversion.yml

See the guards API below : ````c# public static int Negative([JetBrainsNotNull] this IGuardClause guardClause, int input, [JetBrainsNotNull][JetBrainsInvokerParameterName][CallerArgumentExpression("input")] string? parameterName = null, string? message = null){ ...... } ```` If I...

enhancement

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 8 to 9. Release notes Sourced from dawidd6/action-download-artifact's releases. v9 What's Changed add merge_multiple option by @​timostroehlein in dawidd6/action-download-artifact#327 New Contributors @​timostroehlein made their first contribution in...

dependencies
github_actions

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3 to 6. Release notes Sourced from dawidd6/action-download-artifact's releases. v6 Full Changelog: https://github.com/dawidd6/action-download-artifact/compare/v5...v6 v5 Full Changelog: https://github.com/dawidd6/action-download-artifact/compare/v4...v5 v4 What's Changed VERSIONING CHANGE: now there will only be...

dependencies
github_actions