Contents tagged with dependency injection
today I want to write a few words about something that I consider as cool achievement: dependency injection in Acumatica with help of Autofac. Before sharing any code I'd like to mention why Autofac and not other framework? Because Acumatica itself is built on Autofac. For you as a developer it basically means that you can omit nuger versioning or any kind of versioning with Acumatica. You just reference Autofac, and it will be available for you in your project.
Keeping this idea in mind, let's suppose that you have following class in your code:
public class EmailNotificationSender : IEmailNotificationSender
public void SendEmail(string to, string subject, string … more