コード例 #1
0
ファイル: Engine.cs プロジェクト: ggeorgievx/TAILS
        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;
        }
コード例 #2
0
        public CreateStudentCommand(ITAILSEntities context)
        {
            Guard.WhenArgument(context, "context").IsNull().Throw();

            this.context = context;
        }
コード例 #3
0
ファイル: ListSeatsCommand.cs プロジェクト: ggeorgievx/TAILS
        public ListSeatsCommand(ITAILSEntities context)
        {
            Guard.WhenArgument(context, "context").IsNull().Throw();

            this.context = context;
        }
コード例 #4
0
        public GenerateSeatsMappingCommand(ITAILSEntities context)
        {
            Guard.WhenArgument(context, "context").IsNull().Throw();

            this.context = context;
        }
コード例 #5
0
        public UpdateExamDateTimeCommand(ITAILSEntities context)
        {
            Guard.WhenArgument(context, "context").IsNull().Throw();

            this.context = context;
        }