public MainWindow() { InitializeComponent(); rp = new RepoMock(); testD = new List <TestDriver>(); processnumber.Text = "3"; }
static void Main(string[] args) { Console.Title = "RepoMock"; Console.BackgroundColor = ConsoleColor.White; Console.ForegroundColor = ConsoleColor.DarkBlue; Console.Write("\n RepoMock Process"); Console.Write("\n =====================\n"); RepoMock repo = new RepoMock(); Console.Write("\n\n"); }
static void Main(string[] args) { Console.Write("\n Demonstration of Mock Repo"); Console.Write("\n ============================"); RepoMock repo = new RepoMock(); repo.getFiles(repo.storagePath, "*.*"); foreach (string file in repo.files) { Console.Write("\nFiles in repo: \"{0}\"", file); } repo.sendRequests(); Console.Write("\n\n"); }