using System; using System.Collections.Generic; using System.Text; using System.IO; namespace System.Fire.yaml { class ymlHandle { private string _file; public ymlHandle() { } public ymlHandle(string File) { this.Load(File); } public string File { get { return this._file; } set { this._file = value; } } public bool Load(string File) { this._file = File; return this.initFile(File); } public bool Save() { return false; } public bool Save(string File) { return false; } private bool initFile(string File) { if (System.IO.File.Exists(File) == false) return false; StreamReader fs = new StreamReader(File); while (!fs.EndOfStream) { string line = fs.ReadLine(); } return false; } } }