/// <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)); } }
public VillagesEventArgs(IEnumerable<Village> vil, VillageCommand action) { Villages = vil; Action = action; }
public VillagesEventArgs(IEnumerable<Village> vil, VillageTools tool) { Villages = vil; Action = new VillageCommand(tool); }
public VillagesEventArgs(IEnumerable <Village> vil, VillageCommand action) { Villages = vil; Action = action; }
public VillagesEventArgs(IEnumerable <Village> vil, VillageTools tool) { Villages = vil; Action = new VillageCommand(tool); }