TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Amarkant Kumar
NA
22
649
dependency registeration in NopCommerce 4.20
Nov 2 2019 12:38 AM
Error:
ArgumentException: The type 'Nop.Plugin.SecurityDeposit.SecurityAmt.Factories.ShoppingCartSecurityFactory' is not assignable to service 'Nop.Plugin.SecurityDeposit.SecurityAmt.Factories.IShoppingCartSecurityFactory'.
Dependency registering:
public virtual void Register(ContainerBuilder builder, ITypeFinder typeFinder, NopConfig config)
{ builder.RegisterType<ShoppingCartSecurityFactory>().As<IShoppingCartSecurityFactory>().
InstancePerLifetimeScope();
}
public int Order => 11;
Does anyone have idea of overriding the shoppingcartModelfactory in nopCommerce 4.20 as I am overriding the
shopping cart item in NopCommerce. Can I override shoppingcartModelfactory or not in NopCommerce 4.20?
Reply
Answers (
1
)
How to transfer data from a Class to an SQL Serer Table?
HOW DISABLE SHOT KEYS( control+p) IN WIndowsforms pdf reader