Пример #1
0
        /// <summary>
        /// Kooboo_{title}
        /// </summary>
        /// <param name="formula"></param>
        /// <returns></returns>
        protected virtual string EvaluateStringFormulas(string formula)
        {
            var valueProvider = new PageSettingValueProvider(this);

            return(this._formulaParser.Populate(formula, valueProvider));
        }
Пример #2
0
 /// <summary>
 /// Kooboo_{title}
 /// </summary>
 /// <param name="formula"></param>
 /// <returns></returns>
 protected virtual string EvaluateStringFormulas(string formula)
 {
     var valueProvider = new PageSettingValueProvider(this);
     return this._formulaParser.Populate(formula, valueProvider);
 }