/// <summary> /// Displays specified setting value. /// </summary> public void DisplayOptions(string settingValue) { ICustomRuleOptionsData data = Rule.CreateOptionsData(); data.ConvertFromValue(settingValue); DisplayOptionsData(data); }
/// <summary> /// Gets options text for specified setting value. /// </summary> public string GetOptionsText(string settingValue) { ICustomRuleOptionsData data = Rule.CreateOptionsData(); data.ConvertFromValue(settingValue); return(data.GetDescription()); }