Interface IContentLoader<T>
/// Interface for modules which load content from the Web
Namespace: i5.Toolkit.Core.Utilities.ContentLoaders
Assembly: cs.temp.dll.dll
Syntax
public interface IContentLoader<T>
Type Parameters
Name | Description |
---|---|
T | The result's payload |
Methods
LoadAsync(string)
Loads a resource from the given URI Should be used asynchronously
Declaration
Task<WebResponse<T>> LoadAsync(string uri)
Parameters
Type | Name | Description |
---|---|---|
string | uri | The uri where the string resource is stored |
Returns
Type | Description |
---|---|
Task<><WebResponse<T>> | The fetched resource |