Ejemplo n.º 1
0
 /// <summary>
 /// Handler of mixed data SBE-Scripts
 /// Format: https://bitbucket.org/3F/vssolutionbuildevent/issue/22/#comment-12739932
 /// </summary>
 /// <param name="data">mixed data</param>
 /// <param name="allowMSBuild">Allows post-processing with MSBuild or not.
 /// Some components can require immediate processing with evaluation, before passing control to next level.
 /// </param>
 /// <returns>prepared and evaluated data</returns>
 public string parse(string data, bool allowMSBuild)
 {
     lock (_lock)
     {
         _depthLevel = 0;
         postMSBuild = allowMSBuild;
         StringHandler hString = new StringHandler();
         return(hString.recovery(parse(hString.protect(data), _depthLevel, hString)));
     }
 }