Exemplo n.º 1
0
        public MyHPViewModel(
            MyStatus config,
            MyStatusModel model)
        {
            this.Config = config ?? this.GetConfig;
            this.Model  = model ?? MyStatusModel.Instance;

            this.RaisePropertyChanged(nameof(Config));
            this.RaisePropertyChanged(nameof(Model));

            this.Initialize();
        }
Exemplo n.º 2
0
 public MyMPViewModel(
     MyStatus config,
     MyStatusModel model) : base(config, model)
 {
 }