Exemple #1
0
        public object invoke(string serviceId, string functionName, params object[] parameters)
        {
            if (serviceId == null)
            {
                throw new ArgumentNullException(nameof(serviceId));
            }
            if (functionName == null)
            {
                throw new ArgumentNullException(nameof(functionName));
            }

            return(_serviceHostService.InvokeFunction(serviceId, functionName, parameters));
        }
 public object invoke(string service_id, string function_name, params object[] parameters)
 {
     return(PythonConvert.ToPython(_serviceHostService.InvokeFunction(service_id, function_name, parameters)));
 }