📄 iproduct.cs
字号:
using System;
using System.Collections;
namespace BookShop.IDAL{
/// <summary>
/// Interface for the Product DAL
/// </summary>
public interface IProduct{
/// <summary>
/// Method to search products by category name
/// </summary>
/// <param name="category">Name of the category to search by</param>
/// <returns>Interface to an arraylist of search results</returns>
IList GetProductsByCategory(string category);
/// <summary>
/// Method to search products by a set of keyword
/// </summary>
/// <param name="keywords">An array of keywords to search by</param>
/// <returns>Interface to an arraylist of search results</returns>
IList GetProductsBySearch(string[] keywords);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -