using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using xStringService.Models.Dtos; namespace xStringService.Interfaces { public interface IXItemResourceProvider { // #region All Item Actions ... /// /// Retrieve a List of Exists Languages for Current Item ... /// /// /// Task> GetLanguages( CancellationToken cancellationToken = default ); /// /// Retrieve all Exists Items of type ... /// /// /// Task> GetResourceLocales( CancellationToken cancellationToken = default ); #endregion // #region Single Item Actions ... /// /// Retrieve a List of Exists Languages for Current Item ... /// /// /// /// Task> GetLanguages( object identifier, CancellationToken cancellationToken = default ); /// /// Retrieve all Exists Items of type ... /// /// /// /// Task> GetResourceLocales( object identifier, CancellationToken cancellationToken = default ); #endregion } }