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

23 lines
680 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 : IAsyncDisposable
{
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);
ValueTask Initialize(string workspaceDir, ILoggerFactory loggerFactory);
public SupportedFeatures SupportedFeatures { get; }
}
}