コード例 #1
0
        /// <summary>
        /// Displays specified setting value.
        /// </summary>
        public void DisplayOptions(string settingValue)
        {
            ICustomRuleOptionsData data = Rule.CreateOptionsData();

            data.ConvertFromValue(settingValue);

            DisplayOptionsData(data);
        }
コード例 #2
0
        /// <summary>
        /// Gets options text for specified setting value.
        /// </summary>
        public string GetOptionsText(string settingValue)
        {
            ICustomRuleOptionsData data = Rule.CreateOptionsData();

            data.ConvertFromValue(settingValue);

            return(data.GetDescription());
        }