Calebs.Extensions
1.0.0-ci-25
See the version list below for details.
dotnet add package Calebs.Extensions --version 1.0.0-ci-25
NuGet\Install-Package Calebs.Extensions -Version 1.0.0-ci-25
<PackageReference Include="Calebs.Extensions" Version="1.0.0-ci-25" />
paket add Calebs.Extensions --version 1.0.0-ci-25
#r "nuget: Calebs.Extensions, 1.0.0-ci-25"
// Install Calebs.Extensions as a Cake Addin #addin nuget:?package=Calebs.Extensions&version=1.0.0-ci-25&prerelease // Install Calebs.Extensions as a Cake Tool #tool nuget:?package=Calebs.Extensions&version=1.0.0-ci-25&prerelease
Calebs.Extensions
Useful extension methods and attributes for working with enums, strings and lists.
Installing Calebs.Extensions
You should install Extensions with NuGet:
Install-Package Calebs.Extensions
Or via the .NET Core command line interface:
dotnet add package Calebs.Extensions
Either command, from Package Manager Console or .NET Core CLI, will download and install Calebs.Extensions and all required dependencies.
.NET 7
These extensions target .NET 6 and .NET 7. With .NET 7 the Calebs.Extensions.Validators
include EnumStringValidator<T>
. The ability for Attributes to support <T> was added with .NET 7.
Extensions
EnumExtensions
- ToList<D> -
- ToList(Type)
- Description (enum)
- Description<ToDesc>(Enum)
- Parse<T>
- Parse <T, D>
EnumStringValidator
Used for string properties in models that are supposed to conform to an enum value.
StringExtensions
- IsNotNullOrEmpty
- IsNullOrEmpty
- Compare
ListExtensions
- ToDelimitedList
- ToUpper
JsonExtensions
- ToJson<T>
- FromJson
Versioning
This package follow semantic versioning as much as possible.
Contributions
Please submit PR's to the develop
branch.
Merges to deveoper
automtically run all unit tests and publish a nuget package with the postfix -ci-build_number
Merges to main
publish to nuget as a major release.
Change Log
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 12.0.3)
-
net7.0
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Calebs.Extensions:
Package | Downloads |
---|---|
Calebs.KeyValueRepo
a library abstraction for KeyValue data stores. |
|
Calebs.KeyValueRepo.SQLite
a SQLite implementation of the KeyValueRepo abstraction for KeyValue data stores. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.7.0 | 93 | 11/11/2024 |
1.7.0-ci-68 | 71 | 11/10/2024 |
1.6.0 | 162 | 1/21/2024 |
1.6.0-ci-67 | 92 | 1/20/2024 |
1.5.0 | 359 | 1/2/2024 |
1.5.0-ci-66 | 92 | 1/2/2024 |
1.5.0-ci-65 | 113 | 1/2/2024 |
1.5.0-ci-64 | 112 | 1/2/2024 |
1.5.0-ci-62 | 313 | 11/29/2023 |
1.4.0 | 180 | 9/8/2023 |
1.4.0-ci-61 | 142 | 9/8/2023 |
1.3.1 | 168 | 9/4/2023 |
1.3.1-ci-60 | 130 | 9/4/2023 |
1.3.1-ci-59 | 128 | 9/4/2023 |
1.3.1-ci-58 | 126 | 9/4/2023 |
1.3.1-ci-57 | 135 | 9/4/2023 |
1.3.1-ci-54 | 146 | 9/4/2023 |
1.3.1-ci-49 | 149 | 9/3/2023 |
1.3.0 | 159 | 9/3/2023 |
1.3.0-ci-48 | 134 | 9/3/2023 |
1.3.0-ci-47 | 131 | 9/3/2023 |
1.3.0-ci-46 | 130 | 9/3/2023 |
1.3.0-ci-45 | 124 | 9/2/2023 |
1.3.0-ci-44 | 138 | 9/2/2023 |
1.3.0-ci-43 | 132 | 9/2/2023 |
1.3.0-ci-42 | 144 | 9/1/2023 |
1.2.0-ci-41 | 135 | 9/1/2023 |
1.2.0-ci-39 | 438 | 5/30/2023 |
1.1.0-ci-38 | 134 | 5/30/2023 |
1.1.0-ci-37 | 139 | 5/28/2023 |
1.0.1-ci-36 | 155 | 4/23/2023 |
1.0.1-ci-35 | 144 | 4/23/2023 |
1.0.1-ci-33 | 152 | 4/4/2023 |
1.0.0 | 396 | 4/1/2023 |
1.0.0-ci-34 | 154 | 4/23/2023 |
1.0.0-ci-32 | 153 | 4/4/2023 |
1.0.0-ci-31 | 158 | 4/3/2023 |
1.0.0-ci-30 | 176 | 4/3/2023 |
1.0.0-ci-29 | 154 | 4/3/2023 |
1.0.0-ci-28 | 148 | 4/3/2023 |
1.0.0-ci-27 | 159 | 4/3/2023 |
1.0.0-ci-26 | 153 | 4/1/2023 |
1.0.0-ci-25 | 164 | 4/1/2023 |
1.0.0-ci-24 | 158 | 4/1/2023 |
1.0.0-ci-23 | 160 | 4/1/2023 |
1.0.0-ci-22 | 163 | 4/1/2023 |
1.0.0-ci-21 | 170 | 4/1/2023 |
1.0.0-ci-16 | 149 | 3/31/2023 |
1.0.0-beta-ci-17 | 154 | 3/31/2023 |
0.1.0-ci-15 | 165 | 3/31/2023 |