Sygenic.SharedKernel 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sygenic.SharedKernel --version 2.0.0
                    
NuGet\Install-Package Sygenic.SharedKernel -Version 2.0.0
                    
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="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sygenic.SharedKernel" Version="2.0.0" />
                    
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 2.0.0
                    
#r "nuget: Sygenic.SharedKernel, 2.0.0"
                    
#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@2.0.0
                    
#: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=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Sygenic.SharedKernel&version=2.0.0
                    
Install as a Cake Tool

Sygenic.SharedKernel version 1.4.0

Outdated file

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 277 11/16/2025
16.1.0 177 10/21/2025
16.0.0 174 10/21/2025
15.0.0 181 10/19/2025
14.0.0 128 10/18/2025
13.1.0 113 10/18/2025
13.0.0 196 10/12/2025
12.11.0 113 10/11/2025
12.10.0 120 10/11/2025
12.9.0 144 9/12/2025
12.8.0 171 8/20/2025
12.7.0 177 8/19/2025
12.6.0 181 8/19/2025
12.5.0 174 7/17/2025
12.4.0 208 5/20/2025
12.3.0 190 5/20/2025
12.2.0 174 5/19/2025
12.1.0 239 4/17/2025
12.0.0 187 4/11/2025
11.0.0 182 3/2/2025
10.1.0 164 2/26/2025
10.0.1 170 2/23/2025
10.0.0 157 2/23/2025
9.0.0 176 2/20/2025
8.1.0 156 1/14/2025
8.0.0 163 1/13/2025
7.1.0 145 1/13/2025
7.0.0 142 1/8/2025
6.2.1 172 11/28/2024
6.2.0 172 11/28/2024
6.1.0 155 11/23/2024
6.0.0 170 10/28/2024
5.1.0 200 10/27/2024
5.0.2 167 10/23/2024
5.0.1 161 10/14/2024
5.0.0 171 10/14/2024
4.0.0 194 9/28/2024
3.3.0 211 9/18/2024
3.2.0 186 9/10/2024
3.1.0 198 9/9/2024
3.0.0 155 9/8/2024
2.0.6 184 8/12/2024
2.0.4 175 8/7/2024
2.0.3 159 8/7/2024
2.0.2 211 7/22/2024
2.0.1 245 7/19/2024
2.0.0 204 7/18/2024
1.6.30 211 7/15/2024
1.6.29 214 7/14/2024
1.6.28 186 7/13/2024
1.6.27 203 7/4/2024
1.6.26 202 7/3/2024
1.6.25 196 7/3/2024
1.6.24 204 7/3/2024
1.6.23 195 7/1/2024
1.6.22 202 6/28/2024
1.6.21 198 6/24/2024
1.6.20 173 6/24/2024
1.6.19 169 6/23/2024
1.6.18 183 6/19/2024
1.6.17 197 5/28/2024
1.6.16 179 5/20/2024
1.6.14 186 5/12/2024
1.6.12 175 5/12/2024
1.6.11 215 5/10/2024
1.6.10 215 5/10/2024
1.6.9 197 5/10/2024
1.6.8 193 5/10/2024
1.6.7 191 5/9/2024
1.6.5 192 5/8/2024
1.6.4 159 5/3/2024
1.6.3 161 5/3/2024
1.6.1 533 4/25/2024
1.6.0 213 4/25/2024
1.5.24 206 4/20/2024
1.5.23 192 4/19/2024
1.5.22 209 4/15/2024
1.5.21 203 4/14/2024
1.5.20 204 4/14/2024
1.5.19 218 4/13/2024
1.5.18 225 4/12/2024
1.5.17 191 4/12/2024
1.5.14 179 4/10/2024
1.5.12 216 4/10/2024
1.5.11 213 4/7/2024
1.5.9 215 3/30/2024
1.5.7 176 3/29/2024
1.5.4 222 3/12/2024
1.5.3 195 3/11/2024
1.5.1 191 3/5/2024
1.5.0 211 2/23/2024
1.4.0 215 1/12/2024
1.3.9.1 242 1/4/2024
1.3.9 223 1/4/2024
1.3.8 196 1/3/2024
1.3.7 255 1/2/2024
1.3.6 213 1/2/2024
1.3.5 228 1/2/2024
1.3.4 223 1/2/2024
1.3.3 236 12/29/2023
1.3.2 231 12/29/2023
1.3.1 218 12/29/2023
1.3.0 210 12/29/2023
1.2.11 236 12/28/2023
1.2.10 207 12/25/2023
1.2.9 194 12/22/2023
1.2.8 206 12/21/2023
1.2.7 196 12/21/2023
1.2.6 192 12/21/2023
1.2.5 200 12/21/2023
1.2.4 234 12/21/2023
1.2.3 204 12/21/2023
1.0.10 197 12/20/2023
1.0.9 227 12/18/2023
1.0.6 172 12/18/2023
1.0.5 203 12/18/2023
1.0.3 194 12/13/2023
1.0.2 202 12/12/2023
1.0.1 253 12/7/2023
1.0.0 229 12/6/2023