Show / Hide Table of Contents

Interface ILanguageRepository

Namespace: Volo.Abp.LanguageManagement
Assembly: Volo.Abp.LanguageManagement.Domain.dll
Syntax
public interface ILanguageRepository : IBasicRepository<Language, Guid>, IBasicRepository<Language>, IReadOnlyBasicRepository<Language>, IRepository, IReadOnlyBasicRepository<Language, Guid>

Methods

AnyAsync(string, CancellationToken)

Declaration
Task<bool> AnyAsync(string cultureName, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string cultureName
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

GetCountAsync(string, CancellationToken)

Declaration
Task<long> GetCountAsync(string filter, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetListAsync(string, int, int, string, CancellationToken)

Declaration
Task<List<Language>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int maxResultCount
int skipCount
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<List<Language>>

GetListByIsEnabledAsync(bool, CancellationToken)

Declaration
Task<List<Language>> GetListByIsEnabledAsync(bool isEnabled, CancellationToken cancellationToken = default)
Parameters
Type Name Description
bool isEnabled
CancellationToken cancellationToken
Returns
Type Description
Task<List<Language>>
In this article
Back to top Powered by Volosoft