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
<PackageReference Include="TypedTree.Generator.Core" Version="2.0.1224" />
<PackageVersion Include="TypedTree.Generator.Core" Version="2.0.1224" />
<PackageReference Include="TypedTree.Generator.Core" />
paket add TypedTree.Generator.Core --version 2.0.1224
#r "nuget: TypedTree.Generator.Core, 2.0.1224"
#:package TypedTree.Generator.Core@2.0.1224
#addin nuget:?package=TypedTree.Generator.Core&version=2.0.1224
#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:
- Run:
dotnet add package TypedTree.Generator.Core --version 2.0.*
- Add the following to a
ItemGroupsection of your csproj:
<PackageReference Include="TypedTree.Generator.Core" Version="2.0.*" />
Usage
Steps for generating a scheme:
- Add usings:
using TypedTree.Generator.Core.Mapping;
using TypedTree.Generator.Core.Scheme;
using TypedTree.Generator.Core.Serialization;
using TypedTree.Generator.Core.Utilities;
- 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. 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. |
| .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
- 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,442 | 8/16/2019 |
| 1.2.1019 | 2,058 | 7/19/2019 |
| 1.1.888 | 1,548 | 4/22/2019 |
| 1.1.885 | 1,457 | 4/22/2019 |
| 1.0.865 | 1,426 | 4/21/2019 |
| 1.0.862 | 1,413 | 4/21/2019 |
| 1.0.857 | 1,488 | 4/21/2019 |
| 1.0.850 | 1,426 | 4/20/2019 |
| 1.0.847 | 1,382 | 4/19/2019 |
| 1.0.840 | 1,397 | 4/19/2019 |
| 1.0.834 | 1,430 | 4/19/2019 |
| 0.1.826 | 1,401 | 4/19/2019 |
| 0.1.824 | 1,440 | 4/19/2019 |
| 0.1.821 | 1,283 | 4/19/2019 |
| 0.1.818 | 1,302 | 4/19/2019 |
| 0.1.809 | 1,296 | 4/9/2019 |
| 0.1.804 | 1,234 | 4/9/2019 |
| 0.1.801 | 1,237 | 4/9/2019 |
| 0.1.798 | 1,223 | 4/9/2019 |
| 0.1.795 | 1,222 | 4/9/2019 |
| 0.1.788 | 1,229 | 4/7/2019 |
| 0.1.771 | 1,289 | 4/3/2019 |
| 0.1.754 | 1,284 | 4/1/2019 |
| 0.1.751 | 1,302 | 3/31/2019 |
| 0.1.745 | 1,307 | 3/31/2019 |
| 0.1.738 | 1,297 | 3/31/2019 |
| 0.1.717 | 1,257 | 3/24/2019 |
| 0.1.0-dev-000810 | 1,144 | 4/10/2019 |
| 0.1.0-dev-000713 | 1,142 | 3/24/2019 |
| 0.1.0-dev-000712 | 1,171 | 3/24/2019 |
| 0.1.0-dev-000711 | 1,131 | 3/24/2019 |