예제 #1
0
        public bool ImportResults(string path)
        {
            if (!string.IsNullOrWhiteSpace(path))
            {
                this.Folder = path;
                this.CurrentFile = Path.GetFileName(path);

                Serializer reader = new Serializer(this.Statistics);

                this.Statistics = reader.DeserialiseFromString(reader.Open(path));

                return this.Statistics != null;
            }

            return this.Success = false;
        }