Sygenic.SharedKernel 1.5.22

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sygenic.SharedKernel --version 1.5.22
                    
NuGet\Install-Package Sygenic.SharedKernel -Version 1.5.22
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sygenic.SharedKernel" Version="1.5.22" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sygenic.SharedKernel" Version="1.5.22" />
                    
Directory.Packages.props
<PackageReference Include="Sygenic.SharedKernel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sygenic.SharedKernel --version 1.5.22
                    
#r "nuget: Sygenic.SharedKernel, 1.5.22"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sygenic.SharedKernel@1.5.22
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sygenic.SharedKernel&version=1.5.22
                    
Install as a Cake Addin
#tool nuget:?package=Sygenic.SharedKernel&version=1.5.22
                    
Install as a Cake Tool

Sygenic.SharedKernel version 1.4.0

Features

  • Value-based attributes (BaseAttribute, [TODO("add more power", 1)], [Maybe("Consider adding power", 2, 3, 4)] )
  • Bridges (System.Console, System.Environment)
  • Color formatter for console
  • Configuration extensions: serviceCollection.AutoConfigure<Settings>(configuration)
  • Event handling (discovery, handlers, dispatching of objects or objects serialized to strings)
  • Smart abstract exceptions
  • CancellationToken extensions: CancellationNotRequested()
  • Dictionary extensions: GetOrSet
  • Range extensions: foreach (var index in 10..20)
  • ServiceProvider extensions: Get<IService1, IService2, ...>
  • String extensions: string.Is(Not)NullOrWhiteSpace
  • Type extensions: .GetStaticPropertyValue<int>("n")
  • Help file
  • Id support (IHasId, KeyGenerator)
  • FilePath fancy class with operator / (new FilePath("c:/X") / "y" / "z")
  • VirginServices for easy IServiceProvider creation
  • TestOptionsMonitor
  • Reflection support (ITypeProvider, IAssemblyProvider, IAssemblyProviderBuilder)
  • Serialization
  • Setable Configuration
  • Value Objects

Some features for .NET Framework 4.8.1 in Sygenic4.SharedKernel

  • Base If With Message Exception
  • Service Provider Get Extensions (var s1, var s2) = Services.Get<IS1, IS2>()
  • Virgin Services
  • all with tests

Project guides

  • Using clauses go into Globals.cs, other files are free from using {namespace} clauses
  • Folder names should be plural
  • All main public methods are tested, do not try to test code not created by yourself
  • Extensions static classes use TryAdd for service registration
  • Implementations are internal sealed, unit tests get to them via [assembly:InternalsVisibleTo]
  • Unit tests concentrate on particular implementations
  • Unit tests for a Sygenic.SharedKernel goes into UnitTests.Sygenic.SharedKernel
  • Class names for tests have sufix Test, like EventDispatcherTests.cs for tests of EventDispatcher
  • Directory/namespace hierarchy for tests mimics directory/namespace hierarchy for a project with prexif UnitTests, like UnitTests.Sygenic.SharedKernel
  • Version of a project is updated to git version while the project is modified
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sygenic.SharedKernel:

Package Downloads
SharpApi.Service

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.0.0 270 11/16/2025
16.1.0 171 10/21/2025
16.0.0 170 10/21/2025
15.0.0 178 10/19/2025
14.0.0 122 10/18/2025
13.1.0 109 10/18/2025
13.0.0 188 10/12/2025
12.11.0 111 10/11/2025
12.10.0 116 10/11/2025
12.9.0 139 9/12/2025
12.8.0 167 8/20/2025
12.7.0 174 8/19/2025
12.6.0 176 8/19/2025
12.5.0 170 7/17/2025
12.4.0 205 5/20/2025
12.3.0 187 5/20/2025
12.2.0 169 5/19/2025
12.1.0 236 4/17/2025
12.0.0 183 4/11/2025
11.0.0 178 3/2/2025
10.1.0 159 2/26/2025
10.0.1 168 2/23/2025
10.0.0 154 2/23/2025
9.0.0 171 2/20/2025
8.1.0 152 1/14/2025
8.0.0 161 1/13/2025
7.1.0 140 1/13/2025
7.0.0 138 1/8/2025
6.2.1 170 11/28/2024
6.2.0 170 11/28/2024
6.1.0 154 11/23/2024
6.0.0 168 10/28/2024
5.1.0 196 10/27/2024
5.0.2 164 10/23/2024
5.0.1 159 10/14/2024
5.0.0 168 10/14/2024
4.0.0 190 9/28/2024
3.3.0 208 9/18/2024
3.2.0 182 9/10/2024
3.1.0 193 9/9/2024
3.0.0 150 9/8/2024
2.0.6 184 8/12/2024
2.0.4 175 8/7/2024
2.0.3 156 8/7/2024
2.0.2 210 7/22/2024
2.0.1 242 7/19/2024
2.0.0 200 7/18/2024
1.6.30 207 7/15/2024
1.6.29 211 7/14/2024
1.6.28 183 7/13/2024
1.6.27 200 7/4/2024
1.6.26 199 7/3/2024
1.6.25 194 7/3/2024
1.6.24 201 7/3/2024
1.6.23 192 7/1/2024
1.6.22 198 6/28/2024
1.6.21 195 6/24/2024
1.6.20 171 6/24/2024
1.6.19 167 6/23/2024
1.6.18 180 6/19/2024
1.6.17 193 5/28/2024
1.6.16 174 5/20/2024
1.6.14 186 5/12/2024
1.6.12 174 5/12/2024
1.6.11 213 5/10/2024
1.6.10 213 5/10/2024
1.6.9 197 5/10/2024
1.6.8 191 5/10/2024
1.6.7 187 5/9/2024
1.6.5 190 5/8/2024
1.6.4 156 5/3/2024
1.6.3 159 5/3/2024
1.6.1 527 4/25/2024
1.6.0 209 4/25/2024
1.5.24 201 4/20/2024
1.5.23 190 4/19/2024
1.5.22 209 4/15/2024
1.5.21 202 4/14/2024
1.5.20 203 4/14/2024
1.5.19 214 4/13/2024
1.5.18 224 4/12/2024
1.5.17 189 4/12/2024
1.5.14 175 4/10/2024
1.5.12 213 4/10/2024
1.5.11 211 4/7/2024
1.5.9 210 3/30/2024
1.5.7 172 3/29/2024
1.5.4 218 3/12/2024
1.5.3 191 3/11/2024
1.5.1 188 3/5/2024
1.5.0 207 2/23/2024
1.4.0 211 1/12/2024
1.3.9.1 236 1/4/2024
1.3.9 219 1/4/2024
1.3.8 192 1/3/2024
1.3.7 251 1/2/2024
1.3.6 209 1/2/2024
1.3.5 223 1/2/2024
1.3.4 220 1/2/2024
1.3.3 232 12/29/2023
1.3.2 228 12/29/2023
1.3.1 215 12/29/2023
1.3.0 206 12/29/2023
1.2.11 232 12/28/2023
1.2.10 206 12/25/2023
1.2.9 189 12/22/2023
1.2.8 202 12/21/2023
1.2.7 194 12/21/2023
1.2.6 188 12/21/2023
1.2.5 195 12/21/2023
1.2.4 232 12/21/2023
1.2.3 201 12/21/2023
1.0.10 195 12/20/2023
1.0.9 224 12/18/2023
1.0.6 168 12/18/2023
1.0.5 200 12/18/2023
1.0.3 191 12/13/2023
1.0.2 199 12/12/2023
1.0.1 252 12/7/2023
1.0.0 227 12/6/2023