Esempio n. 1
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {        
     IIntelClient client = new IntelClient(new PeerResolverService());
     main = new MainPresenter(client);
     Shell shell = new Shell();
     shell.DataContext = main;
     shell.Show();
 }
Esempio n. 2
0
 public void MyTestCleanup()
 {
     mockIntelClient = null;
     target = null;
 }
Esempio n. 3
0
 public void MyTestInitialize()
 {
     mockIntelClient = new Moq.Mock<IIntelClient>();
     target = new MainPresenter(mockIntelClient.Object);
 }