1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-10-18 14:36:10 +00:00
Extension methods on crack.
Go to file
Oliver Booth e70781ef0f
perf: remove redundant 6k ± 1 check in IsPrime
No integers >3 satisfy the condition of being odd AND not being a multiple of 3 (as checked above) AND not being in the form 6k ± 1. This condition never evaluates to true, and so the return is never reached and was preventing this method from hitting 100% code coverage.
2023-03-31 21:25:17 +01:00
.config 3.0.0 Update (#43) 2022-04-30 14:13:16 +01:00
.github ci(upm): update package.json in upm branch (#69) 2023-03-29 16:03:55 +01:00
docfx_project Add docfx project 2022-05-12 14:24:13 +01:00
X10D perf: remove redundant 6k ± 1 check in IsPrime 2023-03-31 21:25:17 +01:00
X10D.DSharpPlus [ci skip] style: upgrade projects to C# 11 2023-03-31 17:30:30 +01:00
X10D.Hosting [ci skip] style: upgrade projects to C# 11 2023-03-31 17:30:30 +01:00
X10D.SourceGenerator [ci skip] style: upgrade projects to C# 11 2023-03-31 17:30:30 +01:00
X10D.SourceValidator [ci skip] style: upgrade projects to C# 11 2023-03-31 17:30:30 +01:00
X10D.Tests test: 100% coverage on Wrap for all types 2023-03-31 20:37:50 +01:00
X10D.Unity [ci skip] style: upgrade projects to C# 11 2023-03-31 17:30:30 +01:00
X10D.Unity.Tests test: update X10D.Unity.Tests to 2021.3.21f1 2023-03-28 23:18:56 +01:00
X10D.UpmPackageGenerator [ci skip] ci(upm): output package.json instead of print to stdout 2023-03-29 16:08:19 +01:00
_config.yml Set theme jekyll-theme-slate 2020-04-26 14:23:54 +01:00
.editorconfig Suppress CA1805 in .editorconfig 2022-11-29 17:17:28 +00:00
.gitignore 3.0.0 Update (#43) 2022-04-30 14:13:16 +01:00
banner.png 3.0.0 Update (#43) 2022-04-30 14:13:16 +01:00
CHANGELOG.md feat: add IEnumerable<T>.ConcatOne 2023-03-31 14:53:02 +01:00
CONTRIBUTING.md [ci skip] style: upgrade projects to C# 11 2023-03-31 17:30:30 +01:00
global.json Use .NET 7 SDK for solution 2023-02-26 00:49:31 +00:00
icon.png 3.0.0 Update (#43) 2022-04-30 14:13:16 +01:00
LICENSE.md [ci skip] docs: update copyright year in LICENSE.md 2023-03-31 15:12:59 +01:00
README.md [ci skip] style=flat-square for shields.io badges 2023-02-23 17:55:25 +00:00
X10D.sln ci(upm): update package.json in upm branch (#69) 2023-03-29 16:03:55 +01:00

GitHub Workflow Status GitHub Issues Coverage NuGet Downloads Stable Version Nightly Version MIT License

About

X10D (pronounced extend), is a .NET package that provides extension methods for numerous types. The purpose of this library is to simplify a codebase by reducing the need for repeated code when performing common operations. Simplify your codebase. Take advantage of .NET. Use extension methods.

(I'm also dogfooding this library, so there's that.)

Installation

NuGet installation

Install-Package X10D -Version 3.1.0

Manual installation

Download the latest release from this repository and adding a direct assembly reference for your chosen platform.

Unity installation

Starting with Unity 2021.2, support for .NET Standard 2.1 has been added. With this change, I am confident providing support for this version for the time being, with only minimal feature-loss. To add X10D into your Unity project, goto the Package Manager window, and choose to install from a Git URL, and use the URL https://github.com/oliverbooth/X10D.git#upm

Parity with the main branch of X10D, and full .NET 6 feature support, is planned - but a timeline is not yet available. Unity plan to add .NET 6 support in the near future. For more information, see this forum post.

Features

I'm planning on writing complete and extensive documentation in the near future. As of this time, feel free to browse the source or the API using your favourite IDE. For those familiar with the 2.6.0 API, please read CHANGELOG.md for a complete list of changes. 3.0.0 is a major release and introduces many breaking changes.

Contributing

Contributions are welcome. See CONTRIBUTING.md.

License

X10D is released under the MIT License. See here for more details.