Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public PrismNotify(PrismClient client)
 {
     this._client = client;
     this._uri = client.Server;
     this.CreateWSConn();
 }
Exemplo n.º 3
0
 public PrismOAuth(PrismClient client)
 {
     this._client = client;
 }