C# Class Microsoft.OneDrive.Sdk.DriveRecentRequest

The type DriveRecentRequest.
Inheritance: BaseRequest, IDriveRecentRequest
显示文件 Open project: OneDrive/onedrive-sdk-csharp Class Usage Examples

Public Methods

Method Description
DriveRecentRequest ( string requestUrl, IBaseClient client, IEnumerable options ) : System

Constructs a new DriveRecentRequest.

Expand ( string value ) : IDriveRecentRequest

Adds the specified expand value to the request.

Filter ( string value ) : IDriveRecentRequest

Adds the specified filter value to the request.

GetAsync ( ) : System.Threading.Tasks.Task

Issues the GET request.

GetAsync ( CancellationToken cancellationToken ) : System.Threading.Tasks.Task

Issues the GET request.

OrderBy ( string value ) : IDriveRecentRequest

Adds the specified orderby value to the request.

Select ( string value ) : IDriveRecentRequest

Adds the specified select value to the request.

Skip ( int value ) : IDriveRecentRequest

Adds the specified skip value to the request.

Top ( int value ) : IDriveRecentRequest

Adds the specified top value to the request.

Method Details

DriveRecentRequest() public method

Constructs a new DriveRecentRequest.
public DriveRecentRequest ( string requestUrl, IBaseClient client, IEnumerable options ) : System
requestUrl string
client IBaseClient
options IEnumerable
return System

Expand() public method

Adds the specified expand value to the request.
public Expand ( string value ) : IDriveRecentRequest
value string The expand value.
return IDriveRecentRequest

Filter() public method

Adds the specified filter value to the request.
public Filter ( string value ) : IDriveRecentRequest
value string The filter value.
return IDriveRecentRequest

GetAsync() public method

Issues the GET request.
public GetAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetAsync() public method

Issues the GET request.
public GetAsync ( CancellationToken cancellationToken ) : System.Threading.Tasks.Task
cancellationToken CancellationToken The for the request.
return System.Threading.Tasks.Task

OrderBy() public method

Adds the specified orderby value to the request.
public OrderBy ( string value ) : IDriveRecentRequest
value string The orderby value.
return IDriveRecentRequest

Select() public method

Adds the specified select value to the request.
public Select ( string value ) : IDriveRecentRequest
value string The select value.
return IDriveRecentRequest

Skip() public method

Adds the specified skip value to the request.
public Skip ( int value ) : IDriveRecentRequest
value int The skip value.
return IDriveRecentRequest

Top() public method

Adds the specified top value to the request.
public Top ( int value ) : IDriveRecentRequest
value int The top value.
return IDriveRecentRequest