MetaFac.CG4.ModelReader 4.0.2

dotnet add package MetaFac.CG4.ModelReader --version 4.0.2
                    
NuGet\Install-Package MetaFac.CG4.ModelReader -Version 4.0.2
                    
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="MetaFac.CG4.ModelReader" Version="4.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MetaFac.CG4.ModelReader" Version="4.0.2" />
                    
Directory.Packages.props
<PackageReference Include="MetaFac.CG4.ModelReader" />
                    
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 MetaFac.CG4.ModelReader --version 4.0.2
                    
#r "nuget: MetaFac.CG4.ModelReader, 4.0.2"
                    
#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 MetaFac.CG4.ModelReader@4.0.2
                    
#: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=MetaFac.CG4.ModelReader&version=4.0.2
                    
Install as a Cake Addin
#tool nuget:?package=MetaFac.CG4.ModelReader&version=4.0.2
                    
Install as a Cake Tool

CG4

Build-Deploy

Define your models in C# code using CG4.Schemas, then run the CLI tool to generate source.

CLI

A Dotnet tool for:

  • extracting metadata from assemblies
  • reading/writing metadada to JSON files
  • generating code from metadata
  • creating generators from templates
  • creating templates from generators

Schemas

Attributes for defining data model objects (schemas) in code.

  • Allows defintion of entities, members, and proxy types.

Models

Helpers to write and read CG4 metadata to/from JSON, and from attributed code.

Generators

C# code generators that use metadata to create POCOs for:

  • freezable classes
  • immutable records
  • polymorphic NewtonSoft.Json DTOs
  • polymorphic System.Text.Json DTOs (.NET 7+)
  • freezable, polymorphic MessagePack DTOs
  • common contracts (interfaces) for all the above.

Runtimes

Runtime support for generated DTOs.

Templates

Testable templates for above generators.

TextProcessing

Bi-directional text processor to convert templates to generators (and back).

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.2 132 6/26/2025
3.2.8 285 6/11/2025
3.2.6 177 3/11/2025
3.2.5 173 3/11/2025
3.2.4 129 2/1/2025
3.2.2 132 12/30/2024
3.2.1 119 12/23/2024
3.1.4 114 12/16/2024
3.1.3 106 12/16/2024
3.1.2-dev 87 12/16/2024
2.10.2 123 11/18/2024
2.9.19 112 11/18/2024
2.9.17 127 11/5/2024
2.9.13 123 11/5/2024
2.9.12 125 9/28/2024
2.9.11 136 8/30/2024
2.9.10 158 8/25/2024
2.9.9 154 8/14/2024
2.9.8 149 8/13/2024
2.9.7-beta 121 8/13/2024
2.8.3 137 7/12/2024
2.8.2 119 7/10/2024
2.7.15 131 6/12/2024
2.7.14 701 5/5/2024
2.7.13 251 3/21/2024
2.7.12 392 3/11/2024
2.7.11 888 2/10/2024
2.7.10 146 2/10/2024
2.7.9 1,099 1/3/2024
2.7.8 168 1/3/2024
2.7.7 152 1/3/2024
2.7.3 1,309 11/18/2023
2.7.2-beta 129 11/18/2023
2.6.8 454 11/5/2023
2.6.7 162 11/5/2023
2.6.6 172 11/4/2023
2.6.4 168 11/3/2023
2.6.2 211 11/1/2023
2.5.2 412 10/21/2023
2.4.6 169 10/21/2023
2.4.3 251 10/18/2023
2.4.2 178 10/17/2023
2.3.3 568 10/2/2023
2.2.13 158 9/25/2023
2.2.8 128 9/24/2023
2.1.17 184 9/23/2023
2.1.13 202 9/10/2023
2.1.10 192 8/29/2023
2.1.8 187 8/28/2023
2.1.7 182 8/26/2023
2.1.4 157 8/25/2023
2.1.3 187 8/24/2023
2.0.2 196 7/16/2023
2.0.1-beta 175 7/16/2023
1.4.13 216 7/16/2023
1.4.10 223 7/9/2023
1.4.6 218 7/8/2023
1.4.5 206 7/8/2023
1.4.4-beta 179 7/7/2023
1.2.26 209 7/3/2023
1.2.25 244 7/3/2023
1.2.22 240 6/21/2023
1.2.19 215 6/20/2023
1.2.18 262 6/18/2023
1.2.17 224 6/18/2023
1.2.5-dev 176 6/9/2023
1.2.3-dev 182 6/7/2023
1.1.6 246 6/5/2023
1.1.5 229 6/4/2023
1.1.4 218 6/4/2023
1.1.3 217 6/2/2023
1.1.2 205 6/2/2023
1.1.1 227 6/2/2023
1.0.3 231 6/2/2023
1.0.2 228 6/1/2023
0.1.73-dev 168 6/1/2023
0.1.69-dev 232 5/28/2023
0.1.68-dev 211 5/28/2023
0.1.62-dev 223 5/26/2023
0.1.58-dev 224 5/25/2023
0.1.57-dev 219 5/25/2023
0.1.52-dev 216 5/24/2023
0.1.50-dev 218 5/24/2023
0.1.49-dev 229 5/23/2023
0.1.48-dev 216 5/23/2023
0.1.47-dev 234 5/23/2023
0.1.38-dev 206 5/20/2023
0.1.37-dev 193 5/20/2023
0.1.25-dev 208 5/15/2023
0.1.24-dev 227 5/15/2023
0.1.14-dev 248 5/10/2023
0.1.2-dev 244 5/7/2023