Harrison Deng
0b507b90a1
Implemented in AdafruitShop. AdafruitShop Product listing data now persisted. AdafruitShop configuration now persisted.
24 lines
700 B
C#
24 lines
700 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net.Http;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Props.Shop.Framework
|
|
{
|
|
public interface IShop : IDisposable
|
|
{
|
|
string ShopName { get; }
|
|
string ShopDescription { get; }
|
|
string ShopModuleAuthor { get; }
|
|
|
|
public IAsyncEnumerable<ProductListing> Search(string query, Filters filters);
|
|
|
|
public Task<ProductListing> GetProductFromIdentifier(string identifier);
|
|
|
|
void Initialize(string workspaceDir, ILoggerFactory loggerFactory);
|
|
ValueTask SaveData();
|
|
public SupportedFeatures SupportedFeatures { get; }
|
|
}
|
|
} |