示例#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();
 }
示例#2
0
 public void MyTestCleanup()
 {
     mockIntelClient = null;
     target = null;
 }
示例#3
0
 public void MyTestInitialize()
 {
     mockIntelClient = new Moq.Mock<IIntelClient>();
     target = new MainPresenter(mockIntelClient.Object);
 }