Exemplo n.º 1
0
        /// <summary>
        /// <para>Begins an asynchronous send to the members list continue route.</para>
        /// </summary>
        /// <param name="cursor">Indicates from what point to get the next set of
        /// members.</param>
        /// <param name="callback">The method to be called when the asynchronous send is
        /// completed.</param>
        /// <param name="callbackState">A user provided object that distinguished this send
        /// from other send requests.</param>
        /// <returns>An object that represents the asynchronous send request.</returns>
        public sys.IAsyncResult BeginMembersListContinue(string cursor,
                                                         sys.AsyncCallback callback,
                                                         object callbackState = null)
        {
            var membersListContinueArg = new MembersListContinueArg(cursor);

            return this.BeginMembersListContinue(membersListContinueArg, callback, callbackState);
        }
Exemplo n.º 2
0
        /// <summary>
        /// <para>Begins an asynchronous send to the members list continue route.</para>
        /// </summary>
        /// <param name="membersListContinueArg">The request parameters.</param>
        /// <param name="callback">The method to be called when the asynchronous send is
        /// completed.</param>
        /// <param name="state">A user provided object that distinguished this send from other
        /// send requests.</param>
        /// <returns>An object that represents the asynchronous send request.</returns>
        public sys.IAsyncResult BeginMembersListContinue(MembersListContinueArg membersListContinueArg, sys.AsyncCallback callback, object state = null)
        {
            var task = this.MembersListContinueAsync(membersListContinueArg);

            return enc.Util.ToApm(task, callback, state);
        }
Exemplo n.º 3
0
        /// <summary>
        /// <para>Once a cursor has been retrieved from <see
        /// cref="Dropbox.Api.Team.Routes.TeamRoutes.MembersListAsync" />, use this to paginate
        /// through all team members.</para>
        /// <para>Permission : Team information</para>
        /// </summary>
        /// <param name="cursor">Indicates from what point to get the next set of
        /// members.</param>
        /// <returns>The task that represents the asynchronous send operation. The TResult
        /// parameter contains the response from the server.</returns>
        /// <exception cref="Dropbox.Api.ApiException{MembersListContinueError}">Thrown if
        /// there is an error processing the request; This will contain a <see
        /// cref="MembersListContinueError"/>.</exception>
        public t.Task<MembersListResult> MembersListContinueAsync(string cursor)
        {
            var membersListContinueArg = new MembersListContinueArg(cursor);

            return this.MembersListContinueAsync(membersListContinueArg);
        }
Exemplo n.º 4
0
 /// <summary>
 /// <para>Once a cursor has been retrieved from <see
 /// cref="Dropbox.Api.Team.Routes.TeamRoutes.MembersListAsync" />, use this to paginate
 /// through all team members.</para>
 /// <para>Permission : Team information</para>
 /// </summary>
 /// <param name="membersListContinueArg">The request parameters</param>
 /// <returns>The task that represents the asynchronous send operation. The TResult
 /// parameter contains the response from the server.</returns>
 /// <exception cref="Dropbox.Api.ApiException{MembersListContinueError}">Thrown if
 /// there is an error processing the request; This will contain a <see
 /// cref="MembersListContinueError"/>.</exception>
 public t.Task<MembersListResult> MembersListContinueAsync(MembersListContinueArg membersListContinueArg)
 {
     return this.Transport.SendRpcRequestAsync<MembersListContinueArg, MembersListResult, MembersListContinueError>(membersListContinueArg, "api", "/team/members/list/continue", Dropbox.Api.Team.MembersListContinueArg.Encoder, Dropbox.Api.Team.MembersListResult.Decoder, Dropbox.Api.Team.MembersListContinueError.Decoder);
 }