public void set_setting(string componentUid, string settingUid, object value)
        {
            if (componentUid == null)
            {
                throw new ArgumentNullException(nameof(componentUid));
            }
            if (settingUid == null)
            {
                throw new ArgumentNullException(nameof(settingUid));
            }

            _componentRegistryService.SetComponentSetting(componentUid, settingUid, PythonConvert.FromPython(value));
        }
 public void PostSettingValue(string componentUid, string settingUid, [FromBody] object value)
 {
     _componentRegistryService.SetComponentSetting(componentUid, settingUid, value);
 }
Beispiel #3
0
 public void set_setting(string settingUid, object value)
 {
     _componentRegistryService.SetComponentSetting(_componentUid, settingUid, PythonConvert.FromPython(value));
 }