Пример #1
0
 public CurrentViewModel(
     IRegionManager rm,
     CurrentHolder holder) : base(rm)
 {
     Current = holder.Current;
     holder.PropertyChanged += (s, e) => Current = holder.Current;
 }
Пример #2
0
 public void Set(List <Current> counts)
 {
     Current = CurrentViewData.Of(counts);
 }
Пример #3
0
 public CurrentHolder()
 {
     Current = new CurrentViewData();
 }