diff --git a/src/XrmMockupShared/Plugin/PluginManager.cs b/src/XrmMockupShared/Plugin/PluginManager.cs index f4e6a3a0..4eb05d86 100644 --- a/src/XrmMockupShared/Plugin/PluginManager.cs +++ b/src/XrmMockupShared/Plugin/PluginManager.cs @@ -144,6 +144,17 @@ private void RegisterPlugin(Type basePluginType, Dictionary>(stepConfig2, extendedConfig, imageTuple)); + pluginExecute = (provider) => { + basePluginType + .GetMethod("Execute") + .Invoke(plugin, new object[] { provider }); + }; + } } }