props/Props-Modules/Props.Shop/Framework/IShop.cs

24 lines
700 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2021-05-09 06:49:37 +00:00
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; }
2021-05-09 06:49:37 +00:00
public IAsyncEnumerable<ProductListing> Search(string query, Filters filters);
2021-05-09 06:49:37 +00:00
public Task<ProductListing> GetProductFromIdentifier(string identifier);
void Initialize(string workspaceDir, ILoggerFactory loggerFactory);
ValueTask SaveData();
public SupportedFeatures SupportedFeatures { get; }
}
}