【发布时间】:2019-07-22 12:22:41
【问题描述】:
我有这个代码:
namespace Nop.Plugin.MostViewed
{
public class MostViewCustom : BasePlugin, IWidgetPlugin
{
private readonly MVPObjectContext _context;
public MostViewCustom(MVPObjectContext context)
{
this._context = context;
}
}
}
它给了我以下错误:
Error CS7036 There is no argument given that corresponds to the required formal parameter 'nameOrConnectionString' of 'BasePlugin.BasePlugin(string)' Nop.Plugin.MostViewed
代码有什么问题?
【问题讨论】:
标签: c# plugins nopcommerce