Ejemplo n.º 1
0
 public MyCustomFight(string attackersTag, string defendersTag, DateTime startTime, MyResourses prize) : base(attackersTag, defendersTag, startTime) => Prize = prize;
Ejemplo n.º 2
0
 public MyTradeResourses(MyResourses resourses, ICollection <string> sectors, IDictionary <ShipType, int> ships)
 {
     Resourses = resourses;
     Sectors   = sectors.ToList() ?? throw new ArgumentNullException(nameof(sectors));
     Ships     = ships ?? throw new ArgumentNullException(nameof(ships));
 }