예제 #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);
 }