コード例 #1
0
 public BankNotifyItemViewModel(IBankNotifyService notifyService, long id, DateTime created, bool isReaded, string displayName, string description)
 {
     _notifyService = notifyService;
     Id             = id;
     Created        = created;
     IsReaded       = isReaded;
     _displayName   = displayName;
     _description   = description;
 }
コード例 #2
0
 public MainViewModel(IBankNotifyService notifyService)
 {
     _notifyService  = notifyService;
     NotifyViewModel = new BankNotifyViewModel(notifyService);
 }
コード例 #3
0
 public BankNotifyViewModel(IBankNotifyService notifyService)
 {
     _notifyService     = notifyService;
     BankNotifies       = new ObservableCollection <BankNotifyItemViewModel>();
     SelectedBankNotify = new BankNotifyItemViewModel();
 }