Stack Client plugin container.
Ejemplo n.º 1
0
 /// <summary>
 /// Instances the AuthorizedStackClient implementation.
 /// </summary>
 /// <param name="appKey">The application's key. Grants a higher request quota.</param>
 /// <param name="accessToken">The user's access token. Grants authentication and access to methods which require that the application be acting on behalf of a user in order to be invoked.</param>
 /// <param name="plugins">The plugins to register with this AuthorizedStackClient instance.</param>
 internal AuthorizedStackClient(string appKey, string accessToken, StackClientPlugins plugins)
     : base(appKey, plugins)
 {
     if (accessToken == null)
     {
         throw new ArgumentNullException("accessToken");
     }
     AccessToken = accessToken;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Instances the AuthorizedStackClient implementation.
 /// </summary>
 /// <param name="appKey">The application's key. Grants a higher request quota.</param>
 /// <param name="accessToken">The user's access token. Grants authentication and access to methods which require that the application be acting on behalf of a user in order to be invoked.</param>
 /// <param name="plugins">The plugins to register with this AuthorizedStackClient instance.</param>
 internal AuthorizedStackClient(string appKey, string accessToken, StackClientPlugins plugins)
     : base(appKey, plugins)
 {
     if (accessToken == null)
     {
         throw new ArgumentNullException("accessToken");
     }
     AccessToken = accessToken;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Instances the StackClient implementation.
 /// </summary>
 /// <param name="appKey">The application's key. Grants a higher request quota.</param>
 /// <param name="plugins">The plugins to register with this StackClient instance.</param>
 internal StackClient(string appKey, StackClientPlugins plugins)
     : base(appKey, plugins)
 {
 }