// Copyright Epic Games, Inc. All Rights Reserved. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace EpicGames.Horde.Projects { /// /// Collection of projects /// public interface IProjectCollection { /// /// Retrieve information about a specific project /// /// Id of the project to get information about /// Cancellation token for the operation /// Information about the requested project Task GetAsync(ProjectId projectId, CancellationToken cancellationToken = default); /// /// Query all the projects /// /// Cancellation token for the operation /// Information about all the projects Task> GetAllAsync(CancellationToken cancellationToken = default); } }