UberSimple Inversion of Control Container using Reflection in C#
Very simple, uses Reflection.
LoC at initial commit to github:
35 SimonWaite.IoC/AssemblyInfo.cs
373 SimonWaite.IoC/Container.cs
27 SimonWaite.IoC/ExportsAttribute.cs
29 SimonWaite.IoC/IContainer.cs
37 SimonWaite.IoC/ImportAttribute.cs
23 SimonWaite.IoC/ImportManyAttribute.cs
44 SimonWaite.IoC/SimonWaite.IoC.csproj
13 SimonWaite.IoC/SingletonAttribute.cs
581 total
Yes, a fully functional IoC framework in under 600 lines of code.
Yes, I am including the .csproj ;)
Assume MIT License.
Enjoy.