miniSql

创建
zgc123@gmail.com authored at 11/19/2023 1:40:15 AM
6136600
Tree
0 Parent(s)
Summary: 1 changed files with 21 additions and 0 deletions.
Added +21 -0
Added +21 -0
diff --git a/minisqlquery-master/src/SDK/PlugInProjectTemplate/Loader.cs b/minisqlquery-master/src/SDK/PlugInProjectTemplate/Loader.cs
new file mode 100644
index 0000000..13041f3
--- /dev/null
+++ b/minisqlquery-master/src/SDK/PlugInProjectTemplate/Loader.cs
@@ -0,0 +1,21 @@
+using System;
+using $safeprojectname$.Commands;
+using MiniSqlQuery.Core;
+
+namespace $safeprojectname$
+{
+	public class Loader : PluginLoaderBase
+	{
+		public Loader() : base(
+			"My Plugin Name", 
+			"My Plugin Description.")
+		{
+		}
+
+		public override void InitializePlugIn()
+		{
+			Services.HostWindow.AddPluginCommand<SampleCommand>();
+			Services.HostWindow.AddToolStripCommand<SampleCommand>(null);
+		}
+	}
+}