public ExportSportshallsTableCommand(IPdfSportshallsTableExporter pdfWriter, ISportshallService sportshallService) { Guard.WhenArgument(pdfWriter, "Pdf writer can not be null!").IsNull().Throw(); Guard.WhenArgument(sportshallService, "Sportscard service can not be null!").IsNull().Throw(); this.pdfWriter = pdfWriter; this.sportshallService = sportshallService; }
public GetSportshallVisitsFromToCommand(ISportscardFactory sportscardFactory, ISportshallService sportshallService) : base(sportscardFactory) { Guard.WhenArgument(sportshallService, "Sportshall service can not be null!").IsNull().Throw(); this.sportshallService = sportshallService; }
public DeleteSportshallCommand(ISportscardFactory sportscardFactory, ISportshallService sportshallService) : base(sportscardFactory) { Guard.WhenArgument(sportshallService, "SportshallService can not be null.").IsNull().Throw(); this.sportshallService = sportshallService; }
public GetMostVisitedSportshallCommand(ISportscardFactory sportscardFactory, ISportshallService sportshallService) : base(sportscardFactory) { Guard.WhenArgument(sportshallService, "Sportshall service can not ne null.").IsNull().Throw(); this.sportshallService = sportshallService; }
public ListAllSportshallsCommand(ISportshallService sportshallService) { Guard.WhenArgument(sportshallService, "Sportshall service can not be null!").IsNull().Throw(); this.sportshallService = sportshallService; }