一个具有保护条款扩展的简单包。
guard-clauses 开源项目推荐(36 个)
guard-clauses 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 36 个仓库一个高性能、可扩展的参数验证库。
.NET 的 guard clause 项目
一个用于表达性 Guard Clause 的轻量级 .NET 库。
从 Stateless C# 移植的有限状态机
一个简单的库,便于对代码进行运行时检查,并允许在方法内定义前置条件和不变量。
面向 Python 项目的 Guard clause 库,用于在每次调用 python 函数/方法时验证参数。
面向 .NET 的最全面的 guard clause 与验证生态系统
Useful guard clauses that simplify argument validity checking and make your code more readable.
Guard-Pattern validations in C#
Fluent guard clauses and validation for .NET. The same checks throw on the first failure or collect every error. Zero dependencies, AOT safe, MIT.
🐓 Guard clauses for JS
A lightweight, low overhead, low ceremony, cross platform library for guarding against bad method inputs.
Fluent guard clauses for .NET — throw exceptions in one expressive line with auto-captured argument names
A helper to generate different guard clauses
a argument validation library.
一个包含通用守卫子句扩展的简单可扩展包。
A collection of extension methods for validating method arguments in order to spot bugs as quickly as possible.
Conceito baseado em boas práticas de Clean Code e em artigos de referência como o de Martin Fowler
C# Common utility classes, guard clauses, extension methods, and more.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/guard-clauses。
- 该话题在 GitHub 上共有 36 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 4696 Star,覆盖 5 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。