This application is created in C#.Net.
This application demonstrates the basic use of IoC autofac.
Application has following classes.
- ConsoleOutput.cs which implements IOutput. It provides a method Write() to display content on the console.
- TodayDateWriter.cs which implements IDateWriter. It provides method WriteDate() to display date. It has dependancy on IOutput.
- Startup.cs which contains a method WriteDate.
Startup.cs uses Autofac container to instantiate objects of TodayDateWriter and ConsoleOutput.