Beispiel #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;
		}
Beispiel #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;
        }
			/// <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) {
			}
Beispiel #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)
 {
 }