Пример #1
0
 protected void init()
 {
     expression = new ConditionalExpression(this, script, msbuild);
 }
Пример #2
0
        /// <summary>
        /// To extract conditional expression.
        /// </summary>
        protected virtual string extractExpression(string raw, out string expression)
        {
            string ret = String.Empty;

            raw = RawExp.Replace(raw, delegate(Match m)
            {
                ret = m.Groups[1].Value;
                return "(expression)";
            }, 1);

            expression = ret;
            return raw;
        }