TypedTree.Generator.Core 2.0.1224

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

// Install TypedTree.Generator.Core as a Cake Tool
#tool nuget:?package=TypedTree.Generator.Core&version=2.0.1224

TypedTree-Generator Core library.

Library that can be used to generate scheme files for the TypedTree-Editor

Can be used for more complex integration into a build pipeline, for simple use-cases consider one of the pre-made tools:

Installation

There are two ways to add the nuget package:

  1. Run:
dotnet add package TypedTree.Generator.Core --version 2.0.*
  1. Add the following to a ItemGroup section of your csproj:
<PackageReference Include="TypedTree.Generator.Core" Version="2.0.*" />

Usage

Steps for generating a scheme:

  1. Add usings:
using TypedTree.Generator.Core.Mapping;
using TypedTree.Generator.Core.Scheme;
using TypedTree.Generator.Core.Serialization;
using TypedTree.Generator.Core.Utilities;
  1. Create a ITypeCollection:
// Get an Assembly (or multiple) that will be used to look for types.
var typeCollection = TypeCollection.Create(typeof(TypeCollectionTests).Assembly);
  1. Create a mapping context:
// Create context object containing all the settings for the mapping.
var context = Context.Create(typeCollection, FieldSource.PublicConstructorParameters);

Note: To get more diagnostics you can also supply a Microsoft.Extensions.Logging.ILogger implementation here. 4. Map the scheme:

var treeDefinition = TreeMapper.MapTree(context, rootAliasType: typeof(Ai.INode));
  1. Export the json:
var json = JsonSerializer.ToJson(tree, JsonSerializer.Mode.Pretty);

Help

For more general documentation and examples visit the github project typedtree-generator-dotnet.

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 was computed.  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. 
.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 (1)

Showing the top 1 NuGet packages that depend on TypedTree.Generator.Core:

Package Downloads
TypedTree.Generator.Cli

Cli tool that can be used to generate scheme files for the typedtree-editor: https://github.com/bastianblokland/typedtree-editor

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1224 1,206 8/16/2019
1.2.1019 1,832 7/19/2019
1.1.888 1,318 4/22/2019
1.1.885 1,241 4/22/2019
1.0.865 1,207 4/21/2019
1.0.862 1,203 4/21/2019
1.0.857 1,267 4/21/2019
1.0.850 1,204 4/20/2019
1.0.847 1,168 4/19/2019
1.0.840 1,181 4/19/2019
1.0.834 1,210 4/19/2019
0.1.826 1,187 4/19/2019
0.1.824 1,207 4/19/2019
0.1.821 1,086 4/19/2019
0.1.818 1,106 4/19/2019
0.1.809 1,096 4/9/2019
0.1.804 1,040 4/9/2019
0.1.801 1,045 4/9/2019
0.1.798 1,026 4/9/2019
0.1.795 1,022 4/9/2019
0.1.788 1,031 4/7/2019
0.1.771 1,083 4/3/2019
0.1.754 1,090 4/1/2019
0.1.751 1,104 3/31/2019
0.1.745 1,109 3/31/2019
0.1.738 1,100 3/31/2019
0.1.717 1,060 3/24/2019
0.1.0-dev-000810 954 4/10/2019
0.1.0-dev-000713 952 3/24/2019
0.1.0-dev-000712 981 3/24/2019
0.1.0-dev-000711 942 3/24/2019