Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        public CreateStudentCommand(ITAILSEntities context)
        {
            Guard.WhenArgument(context, "context").IsNull().Throw();

            this.context = context;
        }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 5
0
        public UpdateExamDateTimeCommand(ITAILSEntities context)
        {
            Guard.WhenArgument(context, "context").IsNull().Throw();

            this.context = context;
        }