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

            return(PythonConvert.ToPython(_componentRegistryService.GetComponentSetting(componentUid, settingUid)));
        }
 public object GetSettingValue(string componentUid, string settingUid)
 {
     return(_componentRegistryService.GetComponentSetting(componentUid, settingUid));
 }
Beispiel #3
0
 public object get_setting(string setting_uid, object default_value = null)
 {
     return(PythonConvert.ToPython(_componentRegistryService.GetComponentSetting(_componentUid, setting_uid, default_value)));
 }