You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to object/object
Implement a unique ToString() on IRegistrationBuilder to avoid the breaking interface change
Somehow enable metadata or a properties dictionary to be attached to an individual IRegistrationBuilder
The text was updated successfully, but these errors were encountered:
tillig
changed the title
Ability to uniquely identify a registration object (IRegistration<T,U,V>)
Ability to uniquely identify a registration object (IRegistrationBuilder<T,U,V>)
May 6, 2022
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, thoughIComponentRegistration
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
ContainerBuilder.Properties
dictionary toobject/object
ToString()
onIRegistrationBuilder
to avoid the breaking interface changeIRegistrationBuilder
The text was updated successfully, but these errors were encountered: