Exemple #1
0
        public Submission(
            XElement element,
            SubmissionProperties properties,
            Extension<EvaluationContextResolver> context,
            IModelRequestService requestService)
            : base(element)
        {
            Contract.Requires<ArgumentNullException>(element != null);
            Contract.Requires<ArgumentNullException>(properties != null);
            Contract.Requires<ArgumentNullException>(context != null);
            Contract.Requires<ArgumentNullException>(requestService != null);

            this.requestService = requestService;
            this.properties = properties;
            this.context = context;
        }
Exemple #2
0
        public Submission(
            XElement element,
            SubmissionProperties properties,
            Extension <EvaluationContextResolver> context,
            IModelRequestService requestService)
            : base(element)
        {
            Contract.Requires <ArgumentNullException>(element != null);
            Contract.Requires <ArgumentNullException>(properties != null);
            Contract.Requires <ArgumentNullException>(context != null);
            Contract.Requires <ArgumentNullException>(requestService != null);

            this.requestService = requestService;
            this.properties     = properties;
            this.context        = context;
        }