Exemplo n.º 1
0
 public void Setup()
 {
     this.mock = new Mock<IConnectionInfo>();
     mock.Setup(c => c.Persist).Returns(true);
     mock.Setup(c => c.CustomTypeInfo.CustomMetadataPath).Returns("");
     mock.Setup(c => c.CustomTypeInfo.CustomAssemblyPath).Returns("");
     this.toTest = new ConnectionViewModel(this.mock.Object);
 }
Exemplo n.º 2
0
 public ConnectDialog(ConnectionViewModel model)
 {
     DataContext = model;
     this.model  = model;
     InitializeComponent();
 }
Exemplo n.º 3
0
 public ConnectDialog(ConnectionViewModel model)
 {
     DataContext = model;
     this.model = model;
     InitializeComponent();
 }