Class AppRedirectService
Provides methods for working with application URL redirects.
Implements
Inherited Members
Namespace: DataWeb.Http
Assembly: DataWeb.Core.dll
Syntax
public sealed class AppRedirectService : IAppRedirectService
Remarks
Initializes a new instance of the AppRedirectService class.
Constructors
AppRedirectService(IAppRedirectStore)
Provides methods for working with application URL redirects.
Declaration
public AppRedirectService(IAppRedirectStore appRedirectStore)
Parameters
Type | Name | Description |
---|---|---|
IAppRedirectStore | appRedirectStore | The IAppRedirectStore implementation to use for accessing the application URL redirects. |
Remarks
Initializes a new instance of the AppRedirectService class.
Methods
GetAppRedirectsAsync(CancellationToken)
Retrieves all application URL redirects from the store.
Declaration
public Task<IEnumerable<AppRedirect>> GetAppRedirectsAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IEnumerable<AppRedirect>> | An IEnumerable<T> of AppRedirect objects. |