Show / Hide Table of Contents

Interface IShortenedUrlRepository

Namespace: Volo.CmsKit.UrlShorting
Assembly: Volo.CmsKit.Pro.Domain.dll
Syntax
public interface IShortenedUrlRepository : IBasicRepository<ShortenedUrl, Guid>, IBasicRepository<ShortenedUrl>, IReadOnlyBasicRepository<ShortenedUrl>, IRepository, IReadOnlyBasicRepository<ShortenedUrl, Guid>

Methods

FindBySourceUrlAsync(string, CancellationToken)

Declaration
Task<ShortenedUrl> FindBySourceUrlAsync(string sourceUrl, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sourceUrl
CancellationToken cancellationToken
Returns
Type Description
Task<ShortenedUrl>

GetCountAsync(string, CancellationToken)

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

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

Declaration
Task<List<ShortenedUrl>> GetListAsync(string filter = null, string Sorting = null, int skipCount = 0, int maxResultCount = 2147483647, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
string Sorting
int skipCount
int maxResultCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<ShortenedUrl>>
In this article
Back to top Powered by Volosoft