Ejemplo n.º 1
0
        public Insert(
            XElement element,
            CommonProperties commonProperties,
            BindingProperties bindingProperties,
            InsertProperties insertProperties,
            Extension<EvaluationContextResolver> context)
            : base(element)
        {
            Contract.Requires<ArgumentNullException>(element != null);
            Contract.Requires<ArgumentNullException>(commonProperties != null);
            Contract.Requires<ArgumentNullException>(bindingProperties != null);
            Contract.Requires<ArgumentNullException>(insertProperties != null);
            Contract.Requires<ArgumentNullException>(context != null);

            this.commonProperties = commonProperties;
            this.bindingProperties = bindingProperties;
            this.insertProperties = insertProperties;
            this.context = context;
        }
Ejemplo n.º 2
0
        public Insert(
            XElement element,
            CommonProperties commonProperties,
            BindingProperties bindingProperties,
            InsertProperties insertProperties,
            Extension <EvaluationContextResolver> context)
            : base(element)
        {
            Contract.Requires <ArgumentNullException>(element != null);
            Contract.Requires <ArgumentNullException>(commonProperties != null);
            Contract.Requires <ArgumentNullException>(bindingProperties != null);
            Contract.Requires <ArgumentNullException>(insertProperties != null);
            Contract.Requires <ArgumentNullException>(context != null);

            this.commonProperties  = commonProperties;
            this.bindingProperties = bindingProperties;
            this.insertProperties  = insertProperties;
            this.context           = context;
        }