Exemplo n.º 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));
     }
 }
Exemplo n.º 2
0
 public VillagesEventArgs(IEnumerable<Village> vil, VillageCommand action)
 {
     Villages = vil;
     Action = action;
 }
Exemplo n.º 3
0
 public VillagesEventArgs(IEnumerable<Village> vil, VillageTools tool)
 {
     Villages = vil;
     Action = new VillageCommand(tool);
 }
Exemplo n.º 4
0
 public VillagesEventArgs(IEnumerable <Village> vil, VillageCommand action)
 {
     Villages = vil;
     Action   = action;
 }
Exemplo n.º 5
0
 public VillagesEventArgs(IEnumerable <Village> vil, VillageTools tool)
 {
     Villages = vil;
     Action   = new VillageCommand(tool);
 }