/// <summary>
        /// Reads the state file (if present) into the cache.
        /// </summary>
        private void ReadStateFile()
        {
            _cache = (SystemState)StateFileBase.DeserializeCache(_stateFile, Log, typeof(SystemState));

            // Construct the cache if necessary.
            if (_cache == null)
            {
                _cache = new SystemState();
            }
        }
 private void ReadStateFile()
 {
     this.cache = (SystemState) StateFileBase.DeserializeCache(this.stateFile, base.Log, typeof(SystemState));
     if (this.cache == null)
     {
         this.cache = new SystemState();
     }
 }