File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 33
44namespace DG . XrmPluginCore
55{
6- public abstract class PluginBase : IPlugin
6+ public abstract class AbstractPlugin : IPlugin
77 {
88 /// <summary>
99 /// Gets the name of the child class.
@@ -12,9 +12,9 @@ public abstract class PluginBase : IPlugin
1212 protected string ChildClassName { get ; }
1313
1414 /// <summary>
15- /// Initializes a new instance of the <see cref="PluginBase "/> class.
15+ /// Initializes a new instance of the <see cref="AbstractPlugin "/> class.
1616 /// </summary>
17- protected PluginBase ( )
17+ protected AbstractPlugin ( )
1818 {
1919 ChildClassName = GetType ( ) . ToString ( ) ;
2020 }
Original file line number Diff line number Diff line change 1+ ### 0.0.6 - 1 May 2025
2+ * Fix: Mark base classes (CustomApi and Plugin) as abstract
3+
14### 0.0.5 - 29 April 2025
25* Add AsyncAutoDelete field to PluginConfig
36
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace DG.XrmPluginCore
1010 /// <summary>
1111 /// Base class for all CustomAPIs.
1212 /// </summary>
13- public class CustomAPI : PluginBase , ICustomApiDefinition
13+ public abstract class CustomAPI : AbstractPlugin , ICustomApiDefinition
1414 {
1515 protected Action < LocalPluginContext > RegisteredEvent { get ; private set ; }
1616
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace DG.XrmPluginCore
1616 /// <summary>
1717 /// Base class for all Plugins.
1818 /// </summary>
19- public class Plugin : PluginBase , IPluginDefinition
19+ public abstract class Plugin : AbstractPlugin , IPluginDefinition
2020 {
2121 /// <summary>
2222 /// Gets the List of events that the plug-in should fire for.
Original file line number Diff line number Diff line change 1- 0.0.5
1+ 0.0.6
You can’t perform that action at this time.
0 commit comments