gregyjames / OctaneDownloader

A high performance, multi-threaded C# file download library.

Home Page:https://www.nuget.org/packages/OctaneEngineCore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency Injection with Autofac

gregyjames opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
Use DI with autofac to inject concrete instances of the interfaces (i.e IClient, IStream, ILoggerFactory)

Describe the solution you'd like
Create a configure container class to register all dependencies then adjust code from hard coded dependencies.

Describe alternatives you've considered
N/A

Additional context
N/A