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

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

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