TryGetInstance and ConnectImplementationsToTypesClosing

7 views
Skip to first unread message

roend

unread,
Dec 18, 2009, 2:13:27 PM12/18/09
to structuremap-users
I'm using ConnectImplementationsToTypesClosing on truck to register a
set of types. When I try to get one of these types from the container
with TryGetInstance it always returns null. However, if I call
GetInstance it returns the correct type. Is this a bug?

Thanks,
Nathan

Jeremy Miller

unread,
Dec 18, 2009, 9:31:41 PM12/18/09
to structuremap-users
I just checked in the fix. SVN 273.

Thanks,

Jeremy

Jeremy Miller

unread,
Dec 18, 2009, 9:30:33 PM12/18/09
to structuremap-users
I bet if you looked at the trunk, svn 273, you'd find that this bug is
fixed.

That bug would only have happened in a narrow set of circumstances
which you just bumped right into.

On Dec 18, 1:13 pm, roend <roen...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages