From fad8ee22a4ca0f74958f41b6ad3c431b9868c559 Mon Sep 17 00:00:00 2001 From: js6pak Date: Sun, 9 Oct 2022 16:01:08 +0200 Subject: [PATCH] Add xmldocs to generated code --- BepInEx.AutoPlugin/AutoPluginGenerator.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/BepInEx.AutoPlugin/AutoPluginGenerator.cs b/BepInEx.AutoPlugin/AutoPluginGenerator.cs index 7d4c631..395f05c 100644 --- a/BepInEx.AutoPlugin/AutoPluginGenerator.cs +++ b/BepInEx.AutoPlugin/AutoPluginGenerator.cs @@ -125,8 +125,19 @@ namespace {typeSymbol.ContainingNamespace.ToDisplayString()} [{attributeName}({typeSymbol.Name}.Id, ""{name}"", ""{version}"")] public partial class {typeSymbol.Name} {{ + /// + /// Id of the . + /// public const string Id = ""{id}""; + + /// + /// Gets the name of the . + /// public static string Name => ""{name}""; + + /// + /// Gets the version of the . + /// public static string Version => ""{version}""; }} }}