Example #1
0
        public SetValue(
            XElement element,
            CommonProperties commonProperties,
            BindingProperties bindingProperties,
            SetValueProperties setValueProperties,
            Extension <EvaluationContextResolver> context)
            : base(element)
        {
            Contract.Requires <ArgumentNullException>(element != null);
            Contract.Requires <ArgumentNullException>(commonProperties != null);
            Contract.Requires <ArgumentNullException>(bindingProperties != null);
            Contract.Requires <ArgumentNullException>(setValueProperties != null);
            Contract.Requires <ArgumentNullException>(context != null);

            this.commonProperties   = commonProperties;
            this.bindingProperties  = bindingProperties;
            this.setValueProperties = setValueProperties;
            this.context            = context;
        }
Example #2
0
        public SetValue(
            XElement element,
            CommonProperties commonProperties,
            BindingProperties bindingProperties,
            SetValueProperties setValueProperties,
            Extension<EvaluationContextResolver> context)
            : base(element)
        {
            Contract.Requires<ArgumentNullException>(element != null);
            Contract.Requires<ArgumentNullException>(commonProperties != null);
            Contract.Requires<ArgumentNullException>(bindingProperties != null);
            Contract.Requires<ArgumentNullException>(setValueProperties != null);
            Contract.Requires<ArgumentNullException>(context != null);

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