Sygenic.SharedKernel
1.6.23
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Sygenic.SharedKernel --version 1.6.23
NuGet\Install-Package Sygenic.SharedKernel -Version 1.6.23
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.23" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sygenic.SharedKernel --version 1.6.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sygenic.SharedKernel, 1.6.23"
#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.23
// Install Sygenic.SharedKernel as a Cake Tool
#tool nuget:?package=Sygenic.SharedKernel&version=1.6.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Hosting (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Pastel (>= 5.1.0)
- xunit.assert (>= 2.8.1)
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.26 | 0 | 7/3/2024 |
1.6.25 | 0 | 7/3/2024 |
1.6.24 | 0 | 7/3/2024 |
1.6.23 | 51 | 7/1/2024 |
1.6.22 | 51 | 6/28/2024 |
1.6.21 | 76 | 6/24/2024 |
1.6.20 | 59 | 6/24/2024 |
1.6.19 | 69 | 6/23/2024 |
1.6.18 | 73 | 6/19/2024 |
1.6.17 | 75 | 5/28/2024 |
1.6.16 | 67 | 5/20/2024 |
1.6.14 | 74 | 5/12/2024 |
1.6.12 | 73 | 5/12/2024 |
1.6.11 | 83 | 5/10/2024 |
1.6.10 | 83 | 5/10/2024 |
1.6.9 | 69 | 5/10/2024 |
1.6.8 | 73 | 5/10/2024 |
1.6.7 | 81 | 5/9/2024 |
1.6.5 | 81 | 5/8/2024 |
1.6.4 | 61 | 5/3/2024 |
1.6.3 | 56 | 5/3/2024 |
1.6.1 | 103 | 4/25/2024 |
1.6.0 | 89 | 4/25/2024 |
1.5.24 | 86 | 4/20/2024 |
1.5.23 | 81 | 4/19/2024 |
1.5.22 | 82 | 4/15/2024 |
1.5.21 | 84 | 4/14/2024 |
1.5.20 | 91 | 4/14/2024 |
1.5.19 | 79 | 4/13/2024 |
1.5.18 | 74 | 4/12/2024 |
1.5.17 | 80 | 4/12/2024 |
1.5.14 | 74 | 4/10/2024 |
1.5.12 | 72 | 4/10/2024 |
1.5.11 | 105 | 4/7/2024 |
1.5.9 | 99 | 3/30/2024 |
1.5.7 | 76 | 3/29/2024 |
1.5.4 | 100 | 3/12/2024 |
1.5.3 | 84 | 3/11/2024 |
1.5.1 | 84 | 3/5/2024 |
1.5.0 | 101 | 2/23/2024 |
1.4.0 | 106 | 1/12/2024 |
1.3.9.1 | 114 | 1/4/2024 |
1.3.9 | 107 | 1/4/2024 |
1.3.8 | 86 | 1/3/2024 |
1.3.7 | 113 | 1/2/2024 |
1.3.6 | 106 | 1/2/2024 |
1.3.5 | 118 | 1/2/2024 |
1.3.4 | 113 | 1/2/2024 |
1.3.3 | 120 | 12/29/2023 |
1.3.2 | 109 | 12/29/2023 |
1.3.1 | 99 | 12/29/2023 |
1.3.0 | 101 | 12/29/2023 |
1.2.11 | 113 | 12/28/2023 |
1.2.10 | 104 | 12/25/2023 |
1.2.9 | 77 | 12/22/2023 |
1.2.8 | 92 | 12/21/2023 |
1.2.7 | 74 | 12/21/2023 |
1.2.6 | 72 | 12/21/2023 |
1.2.5 | 79 | 12/21/2023 |
1.2.4 | 99 | 12/21/2023 |
1.2.3 | 94 | 12/21/2023 |
1.0.10 | 94 | 12/20/2023 |
1.0.9 | 92 | 12/18/2023 |
1.0.6 | 76 | 12/18/2023 |
1.0.5 | 84 | 12/18/2023 |
1.0.3 | 84 | 12/13/2023 |
1.0.2 | 98 | 12/12/2023 |
1.0.1 | 119 | 12/7/2023 |
1.0.0 | 122 | 12/6/2023 |