Пример #1
0
        public IOutputDescription TestPlugin(ComPluginService pluginService)
        {
            var args = new ComPluginInvokeArgs
            {
                Is32Bit    = ((ComPluginSource)pluginService.Source).Is32Bit,
                ClsId      = ((ComPluginSource)pluginService.Source).ClsId,
                Method     = pluginService.Method.Name,
                Fullname   = pluginService.Namespace,
                Parameters = pluginService.Method.Parameters
            };

            var pluginResult = ComPluginServiceExecutionFactory.TestComPlugin(args, out string serializedResult);

            pluginService.SerializedResult = serializedResult;
            return(pluginResult);
        }
Пример #2
0
 public ServiceMethodList GetMethods(string clsid, bool is32Bit) => ComPluginServiceExecutionFactory.GetMethods(clsid, is32Bit);
Пример #3
0
 public ServiceMethodList GetMethods(string clsId, bool is32Bit)
 {
     return(ComPluginServiceExecutionFactory.GetMethods(clsId, is32Bit));
 }