Sygenic.SharedKernel 1.6.3

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

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

Package Downloads
SharpApi.Service

Package Description

Sygenic.Validations

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.5.0 112 10 days ago
12.4.0 160 2 months ago
12.3.0 143 2 months ago
12.2.0 137 2 months ago
12.1.0 203 3 months ago
12.0.0 138 4 months ago
11.0.0 134 5 months ago
10.1.0 114 5 months ago
10.0.1 123 5 months ago
10.0.0 109 5 months ago
9.0.0 128 5 months ago
8.1.0 111 6 months ago
8.0.0 109 6 months ago
7.1.0 98 6 months ago
7.0.0 98 7 months ago
6.2.1 130 8 months ago
6.2.0 122 8 months ago
6.1.0 124 8 months ago
6.0.0 123 9 months ago
5.1.0 134 9 months ago
5.0.2 121 9 months ago
5.0.1 129 9 months ago
5.0.0 130 9 months ago
4.0.0 133 10 months ago
3.3.0 139 9/18/2024
3.2.0 141 9/10/2024
3.1.0 153 9/9/2024
3.0.0 112 9/8/2024
2.0.6 149 8/12/2024
2.0.4 132 8/7/2024
2.0.3 129 8/7/2024
2.0.2 147 7/22/2024
2.0.1 156 7/19/2024
2.0.0 142 7/18/2024
1.6.30 145 7/15/2024
1.6.29 145 7/14/2024
1.6.28 142 7/13/2024
1.6.27 169 7/4/2024
1.6.26 157 7/3/2024
1.6.25 151 7/3/2024
1.6.24 151 7/3/2024
1.6.23 156 7/1/2024
1.6.22 154 6/28/2024
1.6.21 152 6/24/2024
1.6.20 139 6/24/2024
1.6.19 129 6/23/2024
1.6.18 136 6/19/2024
1.6.17 142 5/28/2024
1.6.16 133 5/20/2024
1.6.14 145 5/12/2024
1.6.12 133 5/12/2024
1.6.11 150 5/10/2024
1.6.10 158 5/10/2024
1.6.9 144 5/10/2024
1.6.8 147 5/10/2024
1.6.7 156 5/9/2024
1.6.5 155 5/8/2024
1.6.4 124 5/3/2024
1.6.3 128 5/3/2024
1.6.1 457 4/25/2024
1.6.0 168 4/25/2024
1.5.24 155 4/20/2024
1.5.23 154 4/19/2024
1.5.22 162 4/15/2024
1.5.21 162 4/14/2024
1.5.20 158 4/14/2024
1.5.19 154 4/13/2024
1.5.18 161 4/12/2024
1.5.17 145 4/12/2024
1.5.14 135 4/10/2024
1.5.12 156 4/10/2024
1.5.11 170 4/7/2024
1.5.9 168 3/30/2024
1.5.7 141 3/29/2024
1.5.4 159 3/12/2024
1.5.3 158 3/11/2024
1.5.1 147 3/5/2024
1.5.0 178 2/23/2024
1.4.0 169 1/12/2024
1.3.9.1 194 1/4/2024
1.3.9 178 1/4/2024
1.3.8 150 1/3/2024
1.3.7 191 1/2/2024
1.3.6 176 1/2/2024
1.3.5 184 1/2/2024
1.3.4 181 1/2/2024
1.3.3 192 12/29/2023
1.3.2 182 12/29/2023
1.3.1 172 12/29/2023
1.3.0 165 12/29/2023
1.2.11 195 12/28/2023
1.2.10 166 12/25/2023
1.2.9 159 12/22/2023
1.2.8 161 12/21/2023
1.2.7 162 12/21/2023
1.2.6 144 12/21/2023
1.2.5 165 12/21/2023
1.2.4 188 12/21/2023
1.2.3 161 12/21/2023
1.0.10 157 12/20/2023
1.0.9 164 12/18/2023
1.0.6 139 12/18/2023
1.0.5 158 12/18/2023
1.0.3 162 12/13/2023
1.0.2 169 12/12/2023
1.0.1 196 12/7/2023
1.0.0 186 12/6/2023