예제 #1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="host">服务器</param>
        /// <param name="key">应用的Key</param>
        /// <param name="secret">应用的Secret</param>
        public PrismDotNet(string host, string key, string secret)
        {
            this._host = host;
            this._key = key;
            this._secret = secret;

            this._client = new PrismClient(this._host, this._key, this._secret, UserAgent);
            this._oAuth = new PrismOAuth(this._client);
            this._notify = new PrismNotify(this._client);
        }
예제 #2
0
 public void OnGetDelivery(object sender, PrismNotify.GetDeliveryEventArgs e)
 {
     /*do something with this.Deli
          * ......
          */
 }