protected Data mytest(ref Check testResult, CancellationToken token, bool logOnError, bool logOnSuccess) { Data finalResult = new Data(ActionStatus.Success); foreach (Check data in mydata.Values) { Data result = watcher.ExecuteOnce(); Logger.Write(LogType.Info,result.Status == Success ? "succeeded" : "failed"); finalResult = GetHighestPriority(finalResult, result, ref testResult, data); } return finalResult; }
public volatile int i; public void Test(int _i) { i = _i; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)