Antony Denyer


Tilling the land of software
  • MVC and our interpretation at 7digital

    Introduction The following details concepts that have been adopted on the site I’m currently working on. This was born out of a discussion that took place among the devteam at the time. Differences in phraseology and meaning were ironed out to come up the following definitions and responsibilities. [Read More]
  • Resolving an open generic type with Castle Windsor

    One of things I wanted to do the other day was resolve an open generic interface. Or more specifically resolve a generic type at runtime. This is what we came up with: var argumentsAsAnonymousType = typeof(IHandler) .MakeGenericType(instance.GetType()); var concrete = IoC.Container.Resolve(argumentsAsAnonymousType); The first problem was resolving an open generic type,... [Read More]