/// <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); }
public PrismNotify(PrismClient client) { this._client = client; this._uri = client.Server; this.CreateWSConn(); }
public PrismOAuth(PrismClient client) { this._client = client; }