Sygenic.SharedKernel 1.6.14

dotnet add package Sygenic.SharedKernel --version 1.6.14
NuGet\Install-Package Sygenic.SharedKernel -Version 1.6.14
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.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sygenic.SharedKernel --version 1.6.14
#r "nuget: Sygenic.SharedKernel, 1.6.14"
#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.
// Install Sygenic.SharedKernel as a Cake Addin
#addin nuget:?package=Sygenic.SharedKernel&version=1.6.14

// Install Sygenic.SharedKernel as a Cake Tool
#tool nuget:?package=Sygenic.SharedKernel&version=1.6.14

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. 
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
1.6.14 34 5/12/2024
1.6.12 37 5/12/2024
1.6.11 46 5/10/2024
1.6.10 45 5/10/2024
1.6.9 36 5/10/2024
1.6.8 38 5/10/2024
1.6.7 47 5/9/2024
1.6.5 73 5/8/2024
1.6.4 55 5/3/2024
1.6.3 50 5/3/2024
1.6.1 98 4/25/2024
1.6.0 85 4/25/2024
1.5.24 83 4/20/2024
1.5.23 79 4/19/2024
1.5.22 80 4/15/2024
1.5.21 82 4/14/2024
1.5.20 84 4/14/2024
1.5.19 78 4/13/2024
1.5.18 72 4/12/2024
1.5.17 73 4/12/2024
1.5.14 73 4/10/2024
1.5.12 70 4/10/2024
1.5.11 104 4/7/2024
1.5.9 97 3/30/2024
1.5.7 75 3/29/2024
1.5.4 93 3/12/2024
1.5.3 83 3/11/2024
1.5.1 83 3/5/2024
1.5.0 99 2/23/2024
1.4.0 101 1/12/2024
1.3.9.1 103 1/4/2024
1.3.9 103 1/4/2024
1.3.8 82 1/3/2024
1.3.7 109 1/2/2024
1.3.6 102 1/2/2024
1.3.5 108 1/2/2024
1.3.4 109 1/2/2024
1.3.3 118 12/29/2023
1.3.2 108 12/29/2023
1.3.1 98 12/29/2023
1.3.0 100 12/29/2023
1.2.11 111 12/28/2023
1.2.10 103 12/25/2023
1.2.9 76 12/22/2023
1.2.8 91 12/21/2023
1.2.7 73 12/21/2023
1.2.6 71 12/21/2023
1.2.5 78 12/21/2023
1.2.4 98 12/21/2023
1.2.3 93 12/21/2023
1.0.10 92 12/20/2023
1.0.9 91 12/18/2023
1.0.6 75 12/18/2023
1.0.5 83 12/18/2023
1.0.3 83 12/13/2023
1.0.2 97 12/12/2023
1.0.1 118 12/7/2023
1.0.0 115 12/6/2023