-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
257 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
namespace RepoM.ActionMenu.CodeGen; | ||
|
||
using System.Collections.Generic; | ||
using RepoM.ActionMenu.CodeGen.Models; | ||
|
||
internal static class Constants | ||
{ | ||
internal static readonly Dictionary<string, TypeInfoDescriptor> TypeInfos = new() | ||
{ | ||
{ | ||
typeof(Interface.YamlModel.Templating.Text).FullName!, | ||
new TypeInfoDescriptor(nameof(Text), typeof(Interface.YamlModel.Templating.Text).FullName!) | ||
{ | ||
Link = "repository_action_types.md#text", | ||
} | ||
}, | ||
{ | ||
typeof(Interface.YamlModel.Templating.Predicate).FullName!, | ||
new TypeInfoDescriptor(nameof(Interface.YamlModel.Templating.Predicate), typeof(Interface.YamlModel.Templating.Predicate).FullName!) | ||
{ | ||
Link = "repository_action_types.md#predicate", | ||
} | ||
}, | ||
{ | ||
typeof(Interface.YamlModel.ActionMenus.Context).FullName!, | ||
new TypeInfoDescriptor(nameof(Interface.YamlModel.ActionMenus.Context), typeof(Interface.YamlModel.ActionMenus.Context).FullName!) | ||
{ | ||
Link = "repository_action_types.md#context", | ||
} | ||
}, | ||
{ | ||
typeof(Interface.YamlModel.ActionMenus.Context).FullName! + "?", | ||
new TypeInfoDescriptor(nameof(Interface.YamlModel.ActionMenus.Context), typeof(Interface.YamlModel.ActionMenus.Context).FullName! + "?") | ||
{ | ||
Link = "repository_action_types.md#context", | ||
} | ||
}, | ||
}; | ||
|
||
/// <summary> | ||
/// Project names of all the projects that are used in the code generation. | ||
/// </summary> | ||
public static readonly List<string> Projects = | ||
[ | ||
"RepoM.ActionMenu.Interface", // this is for the description of the interface types and its members. | ||
"RepoM.ActionMenu.Core", | ||
|
||
"RepoM.Plugin.AzureDevOps", | ||
"RepoM.Plugin.Clipboard", | ||
"RepoM.Plugin.Heidi", | ||
"RepoM.Plugin.LuceneQueryParser", | ||
"RepoM.Plugin.SonarCloud", | ||
"RepoM.Plugin.Statistics", | ||
"RepoM.Plugin.WebBrowser", | ||
"RepoM.Plugin.WindowsExplorerGitInfo", | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.