public ComputerName() { ComputerNameViewModel = new StatusViewModel("Loading..."); _compNameBridge = new ComputerNameBridge(); this.InitializeComponent(); }
public void GetComputerName_ExceptionThrown() { using (ComputerNameBridge dmClient = new ComputerNameBridge()) { dmClient.GetName(); } }
public void Cleanup() { _compNameBridge.Dispose(); _compNameBridge = null; }
public void Initialize() { _compNameBridge = new ComputerNameBridge(); }