예제 #1
0
        public async Task <List <Paper> > Copy(Paper paper, int count)
        {
            var array = await _scaner.Scan(paper);

            var response = new List <Paper>();

            for (int i = 0; i < count; i++)
            {
                response.Add(await _printer.Print(array));
            }

            return(response);
        }
예제 #2
0
 public void Scan(Document d)
 {
     scaner.Scan(d);
 }
예제 #3
0
 public async Task <byte[]> Scan(Paper paper)
 {
     return(await _scaner.Scan(paper));
 }