Sygenic.SharedKernel 6.0.0

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

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

Package Downloads
Sygenic.Validations

Package Description

SharpApi.Service

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
12.4.0 136 5/20/2025
12.3.0 132 5/20/2025
12.2.0 129 5/19/2025
12.1.0 194 4/17/2025
12.0.0 130 4/11/2025
11.0.0 126 3/2/2025
10.1.0 106 2/26/2025
10.0.1 115 2/23/2025
10.0.0 100 2/23/2025
9.0.0 119 2/20/2025
8.1.0 103 1/14/2025
8.0.0 93 1/13/2025
7.1.0 89 1/13/2025
7.0.0 89 1/8/2025
6.2.1 122 11/28/2024
6.2.0 113 11/28/2024
6.1.0 115 11/23/2024
6.0.0 114 10/28/2024
5.1.0 119 10/27/2024
5.0.2 112 10/23/2024
5.0.1 119 10/14/2024
5.0.0 122 10/14/2024
4.0.0 115 9/28/2024
3.3.0 122 9/18/2024
3.2.0 132 9/10/2024
3.1.0 145 9/9/2024
3.0.0 104 9/8/2024
2.0.6 142 8/12/2024
2.0.4 122 8/7/2024
2.0.3 122 8/7/2024
2.0.2 134 7/22/2024
2.0.1 144 7/19/2024
2.0.0 129 7/18/2024
1.6.30 128 7/15/2024
1.6.29 130 7/14/2024
1.6.28 133 7/13/2024
1.6.27 162 7/4/2024
1.6.26 149 7/3/2024
1.6.25 144 7/3/2024
1.6.24 134 7/3/2024
1.6.23 148 7/1/2024
1.6.22 146 6/28/2024
1.6.21 145 6/24/2024
1.6.20 132 6/24/2024
1.6.19 122 6/23/2024
1.6.18 129 6/19/2024
1.6.17 135 5/28/2024
1.6.16 126 5/20/2024
1.6.14 137 5/12/2024
1.6.12 126 5/12/2024
1.6.11 134 5/10/2024
1.6.10 143 5/10/2024
1.6.9 127 5/10/2024
1.6.8 139 5/10/2024
1.6.7 149 5/9/2024
1.6.5 148 5/8/2024
1.6.4 118 5/3/2024
1.6.3 121 5/3/2024
1.6.1 392 4/25/2024
1.6.0 155 4/25/2024
1.5.24 148 4/20/2024
1.5.23 146 4/19/2024
1.5.22 149 4/15/2024
1.5.21 154 4/14/2024
1.5.20 150 4/14/2024
1.5.19 144 4/13/2024
1.5.18 147 4/12/2024
1.5.17 136 4/12/2024
1.5.14 126 4/10/2024
1.5.12 142 4/10/2024
1.5.11 163 4/7/2024
1.5.9 161 3/30/2024
1.5.7 134 3/29/2024
1.5.4 145 3/12/2024
1.5.3 151 3/11/2024
1.5.1 139 3/5/2024
1.5.0 170 2/23/2024
1.4.0 163 1/12/2024
1.3.9.1 186 1/4/2024
1.3.9 171 1/4/2024
1.3.8 144 1/3/2024
1.3.7 176 1/2/2024
1.3.6 169 1/2/2024
1.3.5 176 1/2/2024
1.3.4 174 1/2/2024
1.3.3 185 12/29/2023
1.3.2 174 12/29/2023
1.3.1 164 12/29/2023
1.3.0 157 12/29/2023
1.2.11 188 12/28/2023
1.2.10 159 12/25/2023
1.2.9 151 12/22/2023
1.2.8 155 12/21/2023
1.2.7 146 12/21/2023
1.2.6 137 12/21/2023
1.2.5 158 12/21/2023
1.2.4 174 12/21/2023
1.2.3 154 12/21/2023
1.0.10 151 12/20/2023
1.0.9 155 12/18/2023
1.0.6 132 12/18/2023
1.0.5 151 12/18/2023
1.0.3 155 12/13/2023
1.0.2 162 12/12/2023
1.0.1 183 12/7/2023
1.0.0 179 12/6/2023