Interface IRemoteContentCallService
- Namespace
- Quilt4Net.Toolkit.Features.Content
- Assembly
- Quilt4Net.Toolkit.dll
public interface IRemoteContentCallService
Methods
ClearContentCacheAsync()
Task ClearContentCacheAsync()
Returns
- Task
GetContentAsync(string, string, Guid, ContentFormat?, string)
Task<(string Value, bool Success)> GetContentAsync(string key, string defaultValue, Guid languageKey, ContentFormat? contentType, string application = null)
Parameters
key string
defaultValue string
languageKey Guid
contentType ContentFormat?
application string
Returns
- Task<(string Value, bool Success)>
GetLanguagesAsync(bool)
Task<Language[]> GetLanguagesAsync(bool forceReload)
Parameters
forceReload bool
Returns
- Task<Language[]>
SetContentAsync(string, string, Guid, ContentFormat, string)
Task SetContentAsync(string key, string defaultValue, Guid languageKey, ContentFormat contentType, string application = null)
Parameters
key string
defaultValue string
languageKey Guid
contentType ContentFormat
application string
Returns
- Task