public Engine(IReader reader, IWriter writer, ICommandParser parser, ITAILSEntities context) { Guard.WhenArgument(reader, "reader").IsNull().Throw(); Guard.WhenArgument(writer, "writer").IsNull().Throw(); Guard.WhenArgument(parser, "parser").IsNull().Throw(); Guard.WhenArgument(context, "context").IsNull().Throw(); this.reader = reader; this.writer = writer; this.parser = parser; this.context = context; }
public CreateStudentCommand(ITAILSEntities context) { Guard.WhenArgument(context, "context").IsNull().Throw(); this.context = context; }
public ListSeatsCommand(ITAILSEntities context) { Guard.WhenArgument(context, "context").IsNull().Throw(); this.context = context; }
public GenerateSeatsMappingCommand(ITAILSEntities context) { Guard.WhenArgument(context, "context").IsNull().Throw(); this.context = context; }
public UpdateExamDateTimeCommand(ITAILSEntities context) { Guard.WhenArgument(context, "context").IsNull().Throw(); this.context = context; }