TypedTree.Generator.Core
1.0.840
See the version list below for details.
dotnet add package TypedTree.Generator.Core --version 1.0.840
NuGet\Install-Package TypedTree.Generator.Core -Version 1.0.840
<PackageReference Include="TypedTree.Generator.Core" Version="1.0.840" />
paket add TypedTree.Generator.Core --version 1.0.840
#r "nuget: TypedTree.Generator.Core, 1.0.840"
// Install TypedTree.Generator.Core as a Cake Addin
#addin nuget:?package=TypedTree.Generator.Core&version=1.0.840
// Install TypedTree.Generator.Core as a Cake Tool
#tool nuget:?package=TypedTree.Generator.Core&version=1.0.840
TypedTree-Generator Core library.
Library that can be used to generated scheme files for the TypedTree-Editor
Can be used for more complex integration into a build pipeline, more simple use-cases consider one of the pre-made tools:
Installation
There are two ways to add the nuget package:
- Run:
dotnet add package TypedTree.Generator.Core --version 1.0.*
- Add the following to a
ItemGroup
section of your csproj:
<PackageReference Include="TypedTree.Generator.Core" Version="1.0.*" />
Usage
Steps for generating a scheme:
- Add usings:
using TypedTree.Generator.Core.Mapping;
using TypedTree.Generator.Core.Scheme;
using TypedTree.Generator.Core.Serialization;
- Create a ITypeCollection:
// Get an Assembly (or multiple) that will be used to look for types.
var typeCollection = TypeCollection.Create(typeof(TypeCollectionTests).Assembly);
- 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));
- 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 | Versions 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. |
-
.NETStandard 2.0
- Microsoft.Extensions.Logging (>= 2.2.0)
- Newtonsoft.Json (>= 12.0.1)
- System.Collections.Immutable (>= 1.5.0)
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,208 | 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 |