public PairPickerViewModel() { _users = new ObservableCollection<string>(ConfigurationManager.AppSettings["users"].Split(',').Select(u => u.Trim())); _path = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\.gitconfig"; _selectedUsers = new Collection<string>(); _fileManager = new FileManager(); AddUserCommand = new RelayCommand(AddUser); }
public PairPickerViewModel() { _users = new ObservableCollection<string>(Settings.Default.Users); _selectedUsers = new Collection<string>(); AddUserCommand = new RelayCommand(AddUser); }