You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
474 B
13 lines
474 B
using StabilityMatrix.Core.Models; |
|
using StabilityMatrix.Core.Models.Packages; |
|
|
|
namespace StabilityMatrix.Core.Helper.Factory; |
|
|
|
public interface IPackageFactory |
|
{ |
|
IEnumerable<BasePackage> GetAllAvailablePackages(); |
|
BasePackage? FindPackageByName(string? packageName); |
|
BasePackage? this[string packageName] { get; } |
|
PackagePair? GetPackagePair(InstalledPackage? installedPackage); |
|
IEnumerable<BasePackage> GetPackagesByType(PackageType packageType); |
|
}
|
|
|