Semantica.Lib.Patterns.CanSerialize 8.0.7

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

Semantica.Lib.Patterns.Converters

This package is part of the core packages of Semantica.Lib.

Summary

Provides typeconverters and (System.Text.Json) jsonconverters for types that implement ICanSerialize (one-way) or ICanSerialize<T> (two-way).

Dependencies

  • Semantica.Lib.Checks
  • Semantica.Lib.Extensions
  • Semantica.Lib.Patterns

Documentation generated from the XMLDoc:

<a name='assembly'></a>

Lib.Patterns.Converters

Contents

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 (4)

Showing the top 4 NuGet packages that depend on Semantica.Lib.Patterns.CanSerialize:

Package Downloads
Semantica.Lib.Package.Core

Combines all primary Semantica.Lib.Core packages in a single package. Check the ReadMe of each package for further elaboration on package contents.

Semantica.Lib.Types

A library that provides several value types and extensions for those types. This includes but is not limited to DateSpan, EmailAddress, Hash, Link, RouteValues. These simple stucts can make your models and method signatures more readable/expressive, and be useful to write extensions. Includes Converters.TypeConverterRestistrations, a helper that can dynamically add typeconverter attributes to types, eliminating the requirement to have your typeconverter classes in the same project as the types they can convert, acting on the IRunTimeTypeConverter interface. Provides types and helpers for code keys, a compact, human-readable encoding of integers.

Semantica.Lib.Domain

Provides a number of interfaces, types and attributes that can be used to make your domain-level entity classes more expressive. Also defines a number of interfaces that provide a unitofwork/repository pattern. This package contains only the types that represent the highest level of abstraction, making it possible to hide your storage layer models and interfaces from your domain-level logic.

Semantica.Lib.Domain.Data

Provides (base class) implementations of the repository interfaces from Sematica.Lib.Domain. These implementations generally assume a strict separation between the domain-level entity models and storable counterparts used in the storage (persistence) layer. For this, the repository base classes are dependent on injected implementations of the converter interfaces also provided in this package. The repository base is also dependent on an injected IDataStore for the entity's storage type, and a IPropertyAnalyser which is used to identify immutable properties on the storable model. Those properties will be ignored when doing replaces/updates using the default implementations. The package provides a default implementation for this interface that utilizes the ImmutableAttribute from the Semantica.Lib.Storage.Attributes namespace. The repository base classes will implement all standard IRepository members, while additional required custom members can be easily added.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.1.0 263 5/30/2025
8.0.7 310 9/6/2024
8.0.6-beta 1,150 7/10/2024
8.0.5-beta 316 7/4/2024
8.0.4-beta 287 7/2/2024
8.0.3-beta 269 6/14/2024
8.0.2-beta 317 6/4/2024
8.0.1-beta 276 6/4/2024
8.0.0-beta 287 6/4/2024
6.6.1-beta 400 4/5/2024
6.6.0-beta 437 3/5/2024
6.5.5-alpha2 174 3/4/2024
6.5.4-beta 171 2/29/2024
6.5.3-beta 203 10/5/2023
6.5.2-beta 191 10/5/2023
6.5.1-beta 199 9/29/2023
6.5.0-beta 187 9/22/2023
6.4.0-beta 218 7/11/2023
6.3.0-beta 253 6/15/2023
6.2.5-beta 341 3/14/2023
Loading failed