Dependency injection made easy

.NET programmers shouldn't need to care about low-level details.


Snow gives you a full featured dependency injection and IOC system without requiring you to manually instance or register components into a container. Instead, just mark a class with an attribute, and Snow will do all the heavy lifting for you.

Main features

Obvious

How would you check whether a class is intended to be a component? See if it has the [Component] attribute. Can't get more obvious unless it punches you in the face.

Self-aware

Forget about calling a container or registering instances, Snow will take care of all that. All that's left for you is request components.

Recursive

Components can use other components themselves, and you still don't need to worry about it. Seriously, Snow knows what it's doing.

Flexible

You can use annotated properties or constructors to request dependencies. Or even both.

Mascarade

Dependencies can also be requested through an interface, to allow replacing them with other implementations.

Future proof

Snow can be used from .NET Framework, .NET Core apps, UWP, Mono and Xamarin. It also supports the latest features in C#.

using Snow;

Head over to the Download page to get information on how to use Snow in your projects, as well as where to find the source repository, should it be needed.


Download