private void btnParseAll_Click(object sender, EventArgs e) { _codeBase = null; CodeBaseOptions options = _codeBaseOptions.Clone(); RunBackground(delegate { return(CodeBaseWorker.Execute(options, backgroundWorker1)); }); }
public void DelphiVersionDefine() { _options.DelphiVersionDefine = "VER199"; Assert.That(_options.Clone().DelphiVersionDefine, Is.EqualTo("VER199")); AssertIsDefined("IFDEF VER199"); AssertIsUndefined("IFNDEF VER199"); }