Local dev discovers one neat class to inject value types.

Programmers hate him!

But seriously, for most inversion of control containers, injecting a value type is a bit of a pain. You’ll get it, sure, but you can’t change it and have those changes mirrored back to where it came from. It is a value type, after all.

Well, no longer! Just use this class to wrap up any value type in a reference type you can take with you and alter to your heart’s content!

Leave a Reply

Your email address will not be published. Required fields are marked *