public MainViewModel()
        {
            this.CalculateTypes = CalculateTypeViewModel.Create().ToArray();

            // プロパティを初期化して妥当性検証を行う
            this.InitializeProperties();
        }
Exemple #2
0
        public MainViewModel()
        {
            this.CalculateTypes        = CalculateTypeViewModel.Create();
            this.SelectedCalculateType = this.CalculateTypes.First();

            // 入力値の検証を行う
            this.Lhs = string.Empty;
            this.Rhs = string.Empty;
        }
 public MainViewModel()
 {
     this.CalculateTypes        = CalculateTypeViewModel.Create();
     this.SelectedCalculateType = this.CalculateTypes.First();
 }