mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Merge 'development-2.0.0' into 'feature-2.0.0/fix-version-info'
This commit is contained in:
commit
027bdd5bf4
81 changed files with 1905 additions and 1035 deletions
|
|
@ -5,6 +5,7 @@ using System.Collections;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Crestron.SimplSharp;
|
||||
using System.Reflection;
|
||||
using Newtonsoft.Json;
|
||||
|
|
@ -82,7 +83,8 @@ namespace PepperDash.Essentials.Core
|
|||
var convertedParams = mParams
|
||||
.Select((p, i) => ConvertType(action.Params[i], p.ParameterType))
|
||||
.ToArray();
|
||||
method.Invoke(obj, convertedParams);
|
||||
|
||||
Task.Run(() => method.Invoke(obj, convertedParams));
|
||||
|
||||
CrestronConsole.ConsoleCommandResponse("Method {0} successfully called on device {1}", method.Name,
|
||||
action.DeviceKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue