public BaseIdViewModel(ProfileViewModel profile, IHasName model)
 {
     Profile = profile;
     Id      = model.Id;
     Name    = model.Name;
 }
 public BankAccountsViewModel(ProfileViewModel profile, List <BankAccount> accounts)
     : base(profile, accounts)
 {
 }
 public BaseIdViewModel(ProfileViewModel profile)
 {
     Profile = profile;
     Id      = Guid.NewGuid().ToString();
     Name    = "<New>";
 }
Example #4
0
 public BaseEventViewModel(ProfileViewModel profile)
 {
     Profile = profile;
 }
Example #5
0
 public BaseEventViewModel(ProfileViewModel profile, BaseEvent model)
 {
     Profile = profile;
     Date    = model.Date;
     Name    = model.Name ?? $"{model.GetType().Name}";
 }
 public DebtsViewModel(ProfileViewModel profile, List <Debt> debts)
     : base(profile, debts)
 {
 }
 public EventSetupViewModel(ProfileViewModel profile, EventSetup model)
     : base(profile, AllEvents(model))
 {
 }
 public PaychecksViewModel(ProfileViewModel profile, List <Paycheck> paychecks)
     : base(profile, paychecks)
 {
 }
Example #9
0
 public PaycheckDepositsViewModel(ProfileViewModel profile)
     : this(profile, Enumerable.Empty <PaycheckDeposit>())
 {
 }
Example #10
0
 public PaycheckDepositsViewModel(ProfileViewModel profile, IEnumerable <PaycheckDeposit> deposits)
     : base(profile, deposits)
 {
 }