using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; namespace Sanhe.Abp.LocalizationManagement; public interface ITextRepository : IRepository { Task GetByCultureKeyAsync( string resourceName, string cultureName, string key, CancellationToken cancellationToken = default); Task> GetListAsync( string resourceName, CancellationToken cancellationToken = default); Task> GetListAsync( string resourceName, string cultureName, CancellationToken cancellationToken = default); Task GetDifferenceCountAsync( string cultureName, string targetCultureName, string resourceName = null, bool? onlyNull = null, string filter = null, CancellationToken cancellationToken = default); Task> GetDifferencePagedListAsync( string cultureName, string targetCultureName, string resourceName = null, bool? onlyNull = null, string filter = null, string sorting = nameof(Text.Key), int skipCount = 1, int maxResultCount = 10, CancellationToken cancellationToken = default); }