示例#1
0
        public void Read(string path)
        {
            Interfaces.IReader   reader = new Readers.TxtReader();
            Interfaces.IDocument doc    = reader.Read(path);

            MessageBox.Show(doc.Document.Content.ToString());
        }
示例#2
0
 //---------------------------------OLEG------------------------------
 public async void ReadAsync(string path)
 {
     Interfaces.IReader   reader = new Readers.TxtReader();
     Interfaces.IDocument doc    = await reader.ReadAsync(path);
 }