Пример #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);
 }