Exemplo n.º 1
0
        public void CombineCache(string file)
        {
            if (!File.Exists(file))
            {
                return;
            }

            // parse the new cache
            var reader = new HTFXReader(file);

            if (reader.BuildId != BuildId)
            {
                return;
            }

            // add additional hotfix entries
            _reader.Combine(reader);
        }
        public void CombineCaches(params string[] files)
        {
            foreach (var file in files)
            {
                if (!File.Exists(file))
                {
                    continue;
                }

                // parse the new cache
                var reader = new HTFXReader(file);
                if (reader.BuildId != BuildId)
                {
                    continue;
                }

                // add additional hotfix entries
                _reader.Combine(reader);
            }
        }