public ClientEditViewModel(ILog log, IDispatcherSchedulerProvider scheduler, IStandardDialog standardDialog, IToolBarService toolBarService, BindableCollection<IToolBarItem> toolBarCollection, IClientEditService service, ClientModel model, BindableCollection<string> genderCollection) : base(log, scheduler, standardDialog) { _service = service; ToolBarItems = toolBarCollection; Model = model; Model.AddDisposable(Disposables); Genders = genderCollection; CreateSaveToolBar(toolBarService); CreateCancelToolBar(toolBarService); }
public ClientEditViewModel(ILog log, IDispatcherSchedulerProvider scheduler, IStandardDialog standardDialog, IToolBarService toolBarService, BindableCollection <IToolBarItem> toolBarCollection, IClientEditService service, ClientModel model, BindableCollection <string> genderCollection) : base(log, scheduler, standardDialog) { _service = service; ToolBarItems = toolBarCollection; Model = model; Model.AddDisposable(Disposables); Genders = genderCollection; CreateSaveToolBar(toolBarService); CreateCancelToolBar(toolBarService); }