Пример #1
0
 /// <summary>
 /// Publishes an event for one village
 /// </summary>
 public void SelectVillages(object sender, Village village, VillageCommand action)
 {
     if (VillagesSelected != null)
     {
         VillagesSelected(sender, new VillagesEventArgs(village, action));
     }
 }
Пример #2
0
 public VillagesEventArgs(IEnumerable<Village> vil, VillageCommand action)
 {
     Villages = vil;
     Action = action;
 }
Пример #3
0
 public VillagesEventArgs(IEnumerable<Village> vil, VillageTools tool)
 {
     Villages = vil;
     Action = new VillageCommand(tool);
 }
Пример #4
0
 public VillagesEventArgs(IEnumerable <Village> vil, VillageCommand action)
 {
     Villages = vil;
     Action   = action;
 }
Пример #5
0
 public VillagesEventArgs(IEnumerable <Village> vil, VillageTools tool)
 {
     Villages = vil;
     Action   = new VillageCommand(tool);
 }