public DataSource(ViewModel model, string name, string url, string user, string password) { _vm = model; Name = name; Url = url; User = user; Password = password; }
// ** ctors public DataSource(ViewModel model) : this(model, null, null, null, null) { }
public DataSource(ViewModel model, string name, string url) : this(model, name, url, null, null) { }
public NavigateBackCommand(ViewModel vm) { _vm = vm; vm.DataSources.CurrentChanged += DataSources_CurrentChanged; DataSources_CurrentChanged(this, EventArgs.Empty); }