Robertscorp / Slender.Dependencies

A .NET library to register your project's dependencies without being tied to a specific dependency injection container.
MIT License
0 stars 0 forks source link

Add extension methods to get the properties of an IDependency #52

Closed Robertscorp closed 6 months ago

Robertscorp commented 6 months ago

Create a DelegateWriterDependency which will have nullable delegates for each settable item on a Dependency. Then the Write methods can invoke the delegates, which can be implemented to allow setting local variables which can be returned.