public ComputerName()
        {
            ComputerNameViewModel = new StatusViewModel("Loading...");
            _compNameBridge       = new ComputerNameBridge();

            this.InitializeComponent();
        }
Exemplo n.º 2
0
 public void GetComputerName_ExceptionThrown()
 {
     using (ComputerNameBridge dmClient = new ComputerNameBridge())
     {
         dmClient.GetName();
     }
 }
 public void Cleanup()
 {
     _compNameBridge.Dispose();
     _compNameBridge = null;
 }
 public void Initialize()
 {
     _compNameBridge = new ComputerNameBridge();
 }