Interface IAppRedirectStore
Defines methods for accessing application URL redirects from a data store.
Namespace: DataWeb.Http
Assembly: DataWeb.Core.dll
Syntax
public interface IAppRedirectStore
Properties
Name
Gets the name of the data store.
Declaration
string Name { get; }
Property Value
Type |
---|
string |
Methods
GetAppRedirectAsync(AppRedirectFilter)
Retrieves the first application URL redirect from the data store that matches the specified filter.
Declaration
Task<AppRedirect> GetAppRedirectAsync(AppRedirectFilter filter)
Parameters
Type | Name | Description |
---|---|---|
AppRedirectFilter | filter | A AppRedirectFilter object specifying the filter to apply to the results. |
Returns
Type | Description |
---|---|
Task<AppRedirect> | An AppRedirect object representing the matching redirect, or |
GetAppRedirectsAsync(AppRedirectFilter)
Retrieves all application URL redirects from the data store that match the specified filter.
Declaration
Task<IEnumerable<AppRedirect>> GetAppRedirectsAsync(AppRedirectFilter filter)
Parameters
Type | Name | Description |
---|---|---|
AppRedirectFilter | filter | A AppRedirectFilter object specifying the filter to apply to the results. |
Returns
Type | Description |
---|---|
Task<IEnumerable<AppRedirect>> | An System.Collections.Generic.IEnumerable<T> of AppRedirect objects. |
GetAppRedirectsCachedAsync()
Retrieves all application URL redirects from the data store using a cached result.
Declaration
Task<IEnumerable<AppRedirect>> GetAppRedirectsCachedAsync()
Returns
Type | Description |
---|---|
Task<IEnumerable<AppRedirect>> | An System.Collections.Generic.IEnumerable<T> of AppRedirect objects. |