<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wiring Up Generics In Castle Windsor</title>
	<atom:link href="http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/</link>
	<description></description>
	<lastBuildDate>Wed, 08 May 2013 18:43:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: jcteague</title>
		<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/#comment-85</link>
		<dc:creator>jcteague</dc:creator>
		<pubDate>Wed, 26 Aug 2009 12:03:45 +0000</pubDate>
		<guid isPermaLink="false">/blogs/johnteague/archive/2009/08/20/wiring-up-generics-in-castle-windsor.aspx#comment-85</guid>
		<description>Thank Krzysztof.  I&#039;m sure most of the friction is just learning a new tool.  There have been a few things that have come up that the team wasn&#039;t sure how to do with Windsor that I knew how to do with SM.  I&#039;ll be sure and share those. </description>
		<content:encoded><![CDATA[<p>Thank Krzysztof.  I&#8217;m sure most of the friction is just learning a new tool.  There have been a few things that have come up that the team wasn&#8217;t sure how to do with Windsor that I knew how to do with SM.  I&#8217;ll be sure and share those. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krzysztof Kozmic</title>
		<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/#comment-84</link>
		<dc:creator>Krzysztof Kozmic</dc:creator>
		<pubDate>Wed, 26 Aug 2009 06:55:07 +0000</pubDate>
		<guid isPermaLink="false">/blogs/johnteague/archive/2009/08/20/wiring-up-generics-in-castle-windsor.aspx#comment-84</guid>
		<description>John,

It would be beneficial if you shared your thoughts on friction points in Windsor as compared to SM, or features you find working better in SM...

Probably the best place for that would be castle users/developers group on google.

cheers,
Krzysztof</description>
		<content:encoded><![CDATA[<p>John,</p>
<p>It would be beneficial if you shared your thoughts on friction points in Windsor as compared to SM, or features you find working better in SM&#8230;</p>
<p>Probably the best place for that would be castle users/developers group on google.</p>
<p>cheers,<br />
Krzysztof</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcteague</title>
		<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/#comment-83</link>
		<dc:creator>jcteague</dc:creator>
		<pubDate>Mon, 24 Aug 2009 20:26:17 +0000</pubDate>
		<guid isPermaLink="false">/blogs/johnteague/archive/2009/08/20/wiring-up-generics-in-castle-windsor.aspx#comment-83</guid>
		<description>@James
I saw the ArrayResolver and a couple of examples with it, and I started with the open generic. 
 How would I wire up DIFFERENT arrays using that notation?</description>
		<content:encoded><![CDATA[<p>@James<br />
I saw the ArrayResolver and a couple of examples with it, and I started with the open generic.<br />
 How would I wire up DIFFERENT arrays using that notation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Kovacs</title>
		<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/#comment-82</link>
		<dc:creator>James Kovacs</dc:creator>
		<pubDate>Mon, 24 Aug 2009 19:45:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/johnteague/archive/2009/08/20/wiring-up-generics-in-castle-windsor.aspx#comment-82</guid>
		<description>Like StructureMap, Windsor supports resolution of array parameters. Unfortunately unlike StructureMap, Windsor doesn&#039;t turn it on by default. You can enable array resolution via:

container.Kernel.Resolver.AddSubResolver(new ArrayResolver(container.Kernel));

N.B. ArrayResolver is in the Castle.MicroKernel.Resolvers.SpecializedResolvers namespace.

You can then simply register the open generic type in the container and all will be good:

Component.For(typeof(IServiceValidationRunner&lt;&gt;)).ImplementedBy(typeof(ServiceValidationRunner&lt;&gt;))

HTH,
James</description>
		<content:encoded><![CDATA[<p>Like StructureMap, Windsor supports resolution of array parameters. Unfortunately unlike StructureMap, Windsor doesn&#8217;t turn it on by default. You can enable array resolution via:</p>
<p>container.Kernel.Resolver.AddSubResolver(new ArrayResolver(container.Kernel));</p>
<p>N.B. ArrayResolver is in the Castle.MicroKernel.Resolvers.SpecializedResolvers namespace.</p>
<p>You can then simply register the open generic type in the container and all will be good:</p>
<p>Component.For(typeof(IServiceValidationRunner<>)).ImplementedBy(typeof(ServiceValidationRunner<>))</p>
<p>HTH,<br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcteague</title>
		<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/#comment-81</link>
		<dc:creator>jcteague</dc:creator>
		<pubDate>Fri, 21 Aug 2009 14:32:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/johnteague/archive/2009/08/20/wiring-up-generics-in-castle-windsor.aspx#comment-81</guid>
		<description>@Stephen
Normally it would be IEnumerable&lt;T&gt;, but I wasn&#039;t sure what I would need to get it wired up in Castle, so I took the easiest enumerable there was.</description>
		<content:encoded><![CDATA[<p>@Stephen<br />
Normally it would be IEnumerable<t>, but I wasn&#8217;t sure what I would need to get it wired up in Castle, so I took the easiest enumerable there was.</t></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://lostechies.com/johnteague/2009/08/20/wiring-up-generics-in-castle-windsor/#comment-80</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Fri, 21 Aug 2009 13:21:54 +0000</pubDate>
		<guid isPermaLink="false">/blogs/johnteague/archive/2009/08/20/wiring-up-generics-in-castle-windsor.aspx#comment-80</guid>
		<description>Out of interest, why do you take an array of IValidation&lt;T&gt; vs an IEnumerable&lt;IValidation&lt;T&gt;&gt; ?</description>
		<content:encoded><![CDATA[<p>Out of interest, why do you take an array of IValidation<t> vs an IEnumerable<ivalidation <T>> ?</ivalidation></t></p>
]]></content:encoded>
	</item>
</channel>
</rss>
