public TransferEditorViewModel( ITransferRepository transferRepository, IBankAccountRepository bankAccountRepository, IBankAccountAgent bankAccountAgent, IEnumerable<IScheduleFrequency> frequencyCalculators, Transfer entity ) { this.transferRepository = transferRepository; this.bankAccountRepository = bankAccountRepository; this.bankAccountAgent = bankAccountAgent; this.frequencyCalculators = frequencyCalculators; this.entity = entity; this.Amount.PropertyChanged += (s,e) => { base.Validate(); }; base.ValidationHelper.AddInstance(this.Amount); this.FrequencyEvery.PropertyChanged += (s, e) => { base.Validate(); NotifyPropertyChanged(() => this.FrequencyEveryLabel); }; base.ValidationHelper.AddInstance(this.FrequencyEvery); NewFromBankAccountCommand = base.AddNewCommand(new ActionCommand(this.NewFromBankAccount)); NewToBankAccountCommand = base.AddNewCommand(new ActionCommand(this.NewToBankAccount)); }
public bool Update(Transfer data) { throw new NotImplementedException(); }
public int Add(Transfer data) { throw new NotImplementedException(); }
public TransferItemViewModel(Transfer entity) { this.entity = entity; }
public void Release(Transfer s) { }