示例#1
0
 protected bool Merge(Runner.DiscoveredInfo info, bool hasChanged)
 {
     if (hasChanged || _errorMessage != info.ErrorMessage)
     {
         _errorMessage = info.ErrorMessage;
         _version      = _discoverer.CurrentVersion;
         return(true);
     }
     return(false);
 }
示例#2
0
 protected void Initialize(Runner.DiscoveredInfo info)
 {
     _errorMessage = info.ErrorMessage;
 }