public PortOptionsViewModel(SolutionItem solution, OptionsViewModel options) { this.solution = solution; Options = options; Locator = new DXVcsFileLocator(new DXVcsBindingInfo()); Branches = new ReadOnlyCollection <string>(GetBranchesList()); MasterBranch = Options.Branches.LastOrDefault(); Update(); }
public PortOptionsViewModel(SolutionItem solution, OptionsViewModel options) { Options = options; Locator = new DXVcsFileLocator(new DXVcsBindingInfo()); Branches = new ReadOnlyCollection <string>(GetBranchesList()); string server; string filePath; CalcProjectPath(solution, out filePath, out server); VcsServer = server; ProjectFilePath = filePath; }