public MainViewModel()
 {
     AddCommand = new SimpleCommand { ExecuteDelegate = Add };
 }
 public CastleViewModelUsingViewModelBase()
 {
     AddCommand = new SimpleCommand { ExecuteDelegate = Add };
 }
 public void InitializeCommand()
 {
     Console.WriteLine("Initializing AddCommand, was null = {0}", AddCommand == null);
     AddCommand = new SimpleCommand { ExecuteDelegate = Add };
 }
 public CastleViewModelThatIsPOCO()
 {
     AddCommand = new SimpleCommand { ExecuteDelegate = Add };
 }
Пример #5
0
 public void InitializeCommand()
 {
     AddOneCommand = new SimpleCommand { ExecuteDelegate = AddOne };
 }