Custom List Data
public interface IDataListSource
{
/// <summary>
/// Name of the data list source
/// </summary>
string Name { get; }
/// <summary>
/// Description of the data list source.
/// </summary>
string Description { get; }
/// <summary>
/// Represents the Icon property of a data list source.
/// </summary>
string Icon { get; }
/// <summary>
/// The full name of the implemented data source class including namespace.
/// </summary>
string FullName { get; }
/// <summary>
/// Retrieves a list of items from a data source.
/// </summary>
/// <param name="scope">The service scope used for dependency injection.</param>
/// <param name="currentContent">The current content object.</param>
/// <returns>A collection of DataListItem objects.</returns>
IEnumerable<DataListItem> GetItems(IServiceScope scope, Models.Content? currentContent);
}Last updated