示例#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;
        }
示例#2
0
文件: SetValue.cs 项目: nxkit/nxkit
        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;
        }