What are the InjectionMembers in RegisterType() calls for?

Viewed 19347

I've been working with Microsoft's Unity IOC container. There are a bunch of overloads for the RegisterType() method all looking similar to

IUnityContainer RegisterType(Type t, params InjectionMember[] injectionMembers);

I'm wondering when the injectionMembers parameters are for? I couldn't find any documentation for the them (even though they're in every overload) and none of the sample code I looked at use them.

Am I missing something here? Are they not commonly used or did I just miss the examples?

2 Answers
Related