public MainVM(ITfsServerService tfServerService, ToolsVM firstTools, ToolsVM secondTools) { this.FirstTools = firstTools; string firstToolsUrl = tfServerService.GetFirstServerUrl(); this.FirstTools.Address = firstToolsUrl; this.FirstTools.SetAddressCommand.Execute(this); this.SecondTools = secondTools; string secondToolsUrl = tfServerService.GetSecondServerUrl(); this.SecondTools.Address = secondToolsUrl; this.SecondTools.SetAddressCommand.Execute(this); }
public MainVM(ITfsServerService tfServerService, ToolsVM firstTools, ToolsVM secondTools) { this.FirstTools = firstTools; string firstToolsUrl = tfServerService.GetFirstServerUrl(); this.FirstTools.Address = firstToolsUrl; this.FirstTools.SetAddressCommand.Execute(this); this.SecondTools = secondTools; string secondToolsUrl = tfServerService.GetSecondServerUrl(); this.SecondTools.Address = secondToolsUrl; this.SecondTools.SetAddressCommand.Execute(this); }