ChrisCompleteCodeTrunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing.Printing;
using PdfSharp.Pdf;
namespace SCExport
{
public class Exporter
{
private Settings _Settings { get; set; }
private List<string> _Files { get; set; }
public Settings Settings { get { return this._Settings; } }
public List<string> Files { get { return this._Files; } }
public Exporter(Settings settings)
{
this._Settings = settings;
this._Files = new List<string>();
}
public void ExportDocuments()
{
foreach (string repo in Settings.Repositories)
{
Console.WriteLine(Path.Combine(Settings.ImportRoot, repo));
string[] files = Directory.GetFiles(Path.Combine(Settings.ImportRoot, repo), "*.*", SearchOption.AllDirectories);
foreach (string file in files)
{
Console.WriteLine(file);
this._Files.Add(file);
}
}
foreach(string s in Files)
{
Console.WriteLine(s);
}
}
}
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|