/// <inheritdoc /> private ListRequest CreateListProjectsRequest(ListProjectsOptions options) { var request = Service.Projects.List(); options?.ModifyRequest(request); return(request); }
/// <inheritdoc /> public override IPagedEnumerable <ProjectList, CloudProject> ListProjects(ListProjectsOptions options = null) { var pageManager = new ProjectsPageManager(this); return(new PagedEnumerable <ListRequest, ProjectList, CloudProject>( () => CreateListProjectsRequest(options), pageManager)); }
/// <summary> /// Asynchronously lists the cloud projects available using the current credentials. /// </summary> /// <remarks> /// The project associated with this client is irrelevant for this operation. /// </remarks> /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param> /// <returns>An asynchronous sequence of projects the user has access to.</returns> public virtual IPagedAsyncEnumerable <ProjectList, CloudProject> ListProjectsAsync(ListProjectsOptions options = null) { throw new NotImplementedException(); }