An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: guard-clauses

ardalis/GuardClauses

A simple package with guard clause extensions.

Language: C# - Size: 3.59 MB - Last synced at: 3 days ago - Pushed at: about 2 months ago - Stars: 3,168 - Forks: 277

panozkaiscool/guard-clauses

A .NET repository demonstrating the use of guard clauses for input validation and defensive programming. Includes implementations using both built-in .NET features and custom guard clauses, with practical examples for Order and Customer objects in a console application.

Size: 1.95 KB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 0 - Forks: 0

feO2x/Light.GuardClauses

A lightweight .NET library for expressive Guard Clauses.

Language: C# - Size: 3.51 MB - Last synced at: 14 days ago - Pushed at: about 2 months ago - Stars: 89 - Forks: 8

george-pancescu/Guard

A simple library that facilitates runtime checks of code and allows to define preconditions and invariants within a method.

Language: C# - Size: 1.51 MB - Last synced at: 11 days ago - Pushed at: over 2 years ago - Stars: 25 - Forks: 7

Hulle107/libslm

Libslm (Life is boring so let's make): A chaotic collection of experiments.

Language: TypeScript - Size: 15.6 KB - Last synced at: 25 days ago - Pushed at: 25 days ago - Stars: 0 - Forks: 0

safakgur/guard 📦

A high-performance, extensible argument validation library.

Language: C# - Size: 1.04 MB - Last synced at: 16 days ago - Pushed at: almost 2 years ago - Stars: 711 - Forks: 54

danielwertheim/Ensure.That

Guard clause project for .NET

Language: C# - Size: 2.1 MB - Last synced at: 20 days ago - Pushed at: 11 months ago - Stars: 441 - Forks: 49

fluxera/Fluxera.Guards

An extendable guard implementation.

Language: C# - Size: 92.8 KB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 8 - Forks: 1

MrEshboboyev/guard-clauses

A .NET repository demonstrating the use of guard clauses for input validation and defensive programming. Includes implementations using both built-in .NET features and custom guard clauses, with practical examples for Order and Customer objects in a console application.

Language: C# - Size: 6.84 KB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

pm7y/GuardAgainst 📦

Useful guard clauses that simplify argument validity checking and make your code more readable.

Language: C# - Size: 286 KB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 13 - Forks: 2

maiconheck/krafted

A clean, decoupled and extensible, carefully crafted set of libraries for general purpose. Krafted provides a toolkit of useful and reusable pieces of code, in order to increase your productivity. 🚀

Language: C# - Size: 979 KB - Last synced at: 14 days ago - Pushed at: 10 months ago - Stars: 19 - Forks: 2

webmasterdevlin/PollyDemo

Retry and circuit breaker policies in C# microservices.

Language: C# - Size: 1.47 MB - Last synced at: about 1 month ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

ByteDecoder/ByteDecoder.Common

C# Common utility classes, guard clauses, extension methods, and more.

Language: C# - Size: 579 KB - Last synced at: 24 days ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

DanielMSchmidt/babel-generate-guard-clauses

A helper to generate different guard clauses

Language: JavaScript - Size: 599 KB - Last synced at: about 17 hours ago - Pushed at: about 17 hours ago - Stars: 3 - Forks: 0

bgsrb/guard

a argument validation library.

Language: Go - Size: 8.79 KB - Last synced at: about 1 year ago - Pushed at: over 4 years ago - Stars: 2 - Forks: 0

johngitahi/xguard

A guard clause library to gatekeep your functions

Language: Python - Size: 23.4 KB - Last synced at: 6 days ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

Farfetch/checkarg

Guard clause library for Python projects, to validate arguments on every python function/method.

Language: Python - Size: 256 KB - Last synced at: 5 days ago - Pushed at: over 1 year ago - Stars: 21 - Forks: 4

sh-erfan/GuardChain

A simple extendable library for throwing different exceptions in different conditions using single chainable statements

Language: C# - Size: 133 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

nicolasrouge/tdd-bank-account-kata

TDD Banking Kata + SOLID + Strategy and Factory Patterns

Language: C# - Size: 28.3 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

tangkhaiphuong/stateless

Finite State Machine porting from Stateless C#

Language: TypeScript - Size: 246 KB - Last synced at: 9 months ago - Pushed at: almost 6 years ago - Stars: 31 - Forks: 6

slurmulon/flap

:rooster: Guard clauses for JS

Language: JavaScript - Size: 44.9 KB - Last synced at: 23 days ago - Pushed at: over 5 years ago - Stars: 4 - Forks: 0

NilavPatel/Guard-Pattern

Guard-Pattern validations in C#

Language: C# - Size: 31.3 KB - Last synced at: about 2 years ago - Pushed at: almost 3 years ago - Stars: 2 - Forks: 1

Byteology/guard-clauses

A simple extensible package containing generic guard clause extensions.

Language: C# - Size: 95.7 KB - Last synced at: 8 months ago - Pushed at: about 1 year ago - Stars: 2 - Forks: 1

Yortw/Ladon.Net

A lightweight, low overhead, low ceremony, cross platform library for guarding against bad method inputs.

Language: C# - Size: 115 KB - Last synced at: 6 days ago - Pushed at: over 2 years ago - Stars: 4 - Forks: 0

fernandostockler/GuardClauses

A collection of extension methods for validating method arguments in order to spot bugs as quickly as possible.

Language: C# - Size: 87.9 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

CodingZeal/isy

Guard clause for argument type assertions

Language: Ruby - Size: 20.5 KB - Last synced at: about 18 hours ago - Pushed at: about 8 years ago - Stars: 0 - Forks: 0