Exemplo n.º 1
0
 static Commands()
 {
     ClosePopupCommand = new Command("ClosePopup");
     StopDrawingCommand = new Command("StopDrawing");
     EditVectorCommand = new Command("EditVectorCommand");
     LoadBalloonDataCommand = new Command("LoadBalloonDataCommand");
     ItemSelectedCommand = new Command("ItemSelectedCommand");
     PollTileLayerCommand = new Command("PollTileLayerCommand");
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CanExecuteEventArgs"/> class.
 /// </summary>
 /// <param name="command">The command.</param>
 /// <param name="parameter">The parameter.</param>
 internal CanExecuteEventArgs(Command command, object parameter)
 {
     Command = command;
     Parameter = parameter;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExecutedEventArgs"/> class.
 /// </summary>
 /// <param name="command">The command.</param>
 /// <param name="parameter">The parameter.</param>
 /// <param name="source">The event source.</param>
 internal ExecutedEventArgs(Command command, object parameter, object source)
 {
     Command = command;
     Parameter = parameter;
     Source = source;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExecutedEventArgs"/> class.
 /// </summary>
 /// <param name="command">The command.</param>
 /// <param name="parameter">The parameter.</param>
 internal ExecutedEventArgs(Command command, object parameter)
     : this(command, parameter, null)
 {
 }