Open
Description
Problem Statement
Based on this StackOverflow question it would be helpful to be able to use the ContainerBuilder.Properties
dictionary to track information pertaining to individual registrations. At the moment, there's no way to uniquely identify the registration at registration time, though IComponentRegistration
has it after the container is built.
Desired Solution
Some way, other than object reference, to identify an individual registration. Ideally a way that could be used in conjunction with the ContainerBuilder.Properties
string/object dictionary.
Alternatives You've Considered
- Change the
ContainerBuilder.Properties
dictionary toobject/object
- Implement a unique
ToString()
onIRegistrationBuilder
to avoid the breaking interface change - Somehow enable metadata or a properties dictionary to be attached to an individual
IRegistrationBuilder