Beispiel #1
0
        /// <summary>
        /// 添加集合参数
        /// </summary>
        /// <param name="name">集合参数名</param>
        /// <returns>新添加的集合参数对象</returns>
        public NotificationParam AddListParam(string name)
        {
            NotificationParam param = new NotificationParam(this._session, this.NotifyID, null, 1, this._subIndex++, name);

            param.Create(this._session);
            return(param);
        }
Beispiel #2
0
        /// <summary>
        /// 添加简单参数
        /// </summary>
        /// <param name="name">参数名称</param>
        /// <param name="value">参数值,可以是int, string, float, double, decimal, DateTime类型</param>
        /// <returns>消息通知对象本身</returns>
        public Notification AddSingleParam(string name, object value)
        {
            NotificationParam param = new NotificationParam(this.NotifyID, null, 1, this._subIndex++, name, value);

            param.Create(this._session);
            return(this);
        }
        /// <summary>
        /// 添加集合参数
        /// </summary>
        /// <param name="name">集合参数名</param>
        /// <returns>新添加的集合参数对象</returns>
        public NotificationParam AddListParam(string name)
        {
            this.IsListParam();
            NotificationParam param = new NotificationParam(this._session, this.NotifyID, this, this._childSerial, this._childIndex++, name);

            param.Create(this._session);
            return(param);
        }
        /// <summary>
        /// 添加简单参数
        /// </summary>
        /// <param name="name">参数名称</param>
        /// <param name="value">参数值,可以是int, string, float, double, decimal, DateTime类型</param>
        /// <returns>集合消息参数对象本身</returns>
        public NotificationParam AddSingleParam(string name, object value)
        {
            this.IsListParam();
            NotificationParam param = new NotificationParam(this.NotifyID, this, this._childSerial, this._childIndex++, name, value);

            param.Create(this._session);
            return(this);
        }
 /// <summary>
 /// ��Ӽ򵥲���
 /// </summary>
 /// <param name="name">��������</param>
 /// <param name="value">����ֵ��������int, string, float, double, decimal, DateTime����</param>
 /// <returns>������Ϣ����������</returns>
 public NotificationParam AddSingleParam(string name, object value)
 {
     this.IsListParam();
     NotificationParam param = new NotificationParam(this.NotifyID, this, this._childSerial, this._childIndex++, name, value);
     param.Create(this._session);
     return this;
 }
 /// <summary>
 /// ��Ӽ��ϲ���
 /// </summary>
 /// <param name="name">���ϲ�����</param>
 /// <returns>����ӵļ��ϲ�������</returns>
 public NotificationParam AddListParam(string name)
 {
     this.IsListParam();
     NotificationParam param = new NotificationParam(this._session, this.NotifyID, this, this._childSerial, this._childIndex++, name);
     param.Create(this._session);
     return param;
 }
 /// <summary>
 /// ��Ӽ򵥲���
 /// </summary>
 /// <param name="name">��������</param>
 /// <param name="value">����ֵ��������int, string, float, double, decimal, DateTime����</param>
 /// <returns>��Ϣ֪ͨ������</returns>
 public Notification AddSingleParam(string name, object value)
 {
     NotificationParam param = new NotificationParam(this.NotifyID, null, 1, this._subIndex++, name, value);
     param.Create(this._session);
     return this;
 }
 /// <summary>
 /// ��Ӽ��ϲ���
 /// </summary>
 /// <param name="name">���ϲ�����</param>
 /// <returns>����ӵļ��ϲ�������</returns>
 public NotificationParam AddListParam(string name)
 {
     NotificationParam param = new NotificationParam(this._session, this.NotifyID, null, 1, this._subIndex++, name);
     param.Create(this._session);
     return param;
 }