Exemplo n.º 1
0
        /// <summary>
        /// 从配置信息项转换
        /// </summary>
        /// <param name="element"></param>
        public void FromConfigurationElement(WfServiceOperationParameterConfigurationElement element)
        {
            element.NullCheck("element");

            this._Name = element.Name;
            this.Type  = element.Type;
            this.Value = element.Value;
        }
Exemplo n.º 2
0
 /// <summary>
 /// 从配置信息项构造
 /// </summary>
 /// <param name="element"></param>
 public WfServiceOperationParameter(WfServiceOperationParameterConfigurationElement element)
 {
     this.FromConfigurationElement(element);
 }
        public WfServiceOperationDefinition AddParameter(WfServiceOperationParameterConfigurationElement element)
        {
            this.Params.Add(new WfServiceOperationParameter(element));

            return(this);
        }