示例#1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="OAuthClient"/> class.
		/// </summary>
		/// <param name="providerName">
		/// The provider name.
		/// </param>
		/// <param name="webWorker">
		/// The web worker.
		/// </param>
		/// <exception cref="ArgumentNullException">
		/// </exception>
		/// <exception cref="ArgumentNullException">
		/// </exception>
		protected OAuthClient(string providerName, IOAuthWebWorker webWorker) {
			Requires.NotNull(providerName, "providerName");
			Requires.NotNull(webWorker, "webWorker");

			this.ProviderName = providerName;
			this.WebWorker = webWorker;
		}
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="OAuthClient"/> class.
        /// </summary>
        /// <param name="providerName">
        /// The provider name.
        /// </param>
        /// <param name="webWorker">
        /// The web worker.
        /// </param>
        protected OAuthClient(string providerName, IOAuthWebWorker webWorker)
        {
            Requires.NotNull(providerName, "providerName");
            Requires.NotNull(webWorker, "webWorker");

            this.ProviderName = providerName;
            this.WebWorker    = webWorker;
        }
示例#3
0
			/// <summary>
			/// Initializes a new instance of the <see cref="MockOAuthClient"/> class.
			/// </summary>
			/// <param name="worker">The worker.</param>
			public MockOAuthClient(IOAuthWebWorker worker)
				: base("mockoauth", worker) {
			}
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MockOAuthClient"/> class.
 /// </summary>
 /// <param name="worker">The worker.</param>
 public MockOAuthClient(IOAuthWebWorker worker)
     : base("mockoauth", worker)
 {
 }