<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ObjectBuilder Work Item Rss Feed</title><link>http://www.codeplex.com/WorkItem/List.aspx?ProjectName=ObjectBuilder</link><description>ObjectBuilder Work Item Rss Description</description><item><title>Closed Issue: n-deep Containers Not Supported [13636]</title><link>http://objectbuilder.codeplex.com/workitem/13636</link><description>Trying to embed containers multiple levels deep doesn&amp;#39;t work because staged strategy chain does not properly consult the parent strategy chain.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Thu, 16 May 2013 07:10:24 GMT</pubDate><guid isPermaLink="false">Closed Issue: n-deep Containers Not Supported [13636] 20130516071024A</guid></item><item><title>Closed Issue: Bug in ParametersToTypeList method of the BuilderStrategy class [14140]</title><link>http://objectbuilder.codeplex.com/workitem/14140</link><description>I found a bug in the ParametersToTypeList method of the BuilderStrategy class.  Inside the method it execute &amp;#34;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#34;. This does not take into account that &amp;#34;parameter&amp;#34; can be null, causing a exeception.  This bug was exposed when I used a SCSF service with a constructor as follows&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;  MyService&amp;#40;&amp;#91;ServiceDependency&amp;#93; IOtherService s1, &amp;#91;ServiceDependency&amp;#40;Required&amp;#61;false&amp;#41;&amp;#93; IAnotherService s2&amp;#41;&lt;br /&gt;&amp;#160;&lt;br /&gt;The second parameter is not required and can thus be null.  These two parameters is eventually passed into the ParametersToTypeList function where the second entry in the array is null, causing the exception.  The fix for the bug is as follows&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; Creates a trace list of parameter types from a list of &amp;#60;see cref&amp;#61;&amp;#34;IParameter&amp;#34;&amp;#47;&amp;#62; objects.&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;param name&amp;#61;&amp;#34;parameters&amp;#34;&amp;#62;The parameters&amp;#60;&amp;#47;param&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;returns&amp;#62;The type list in string form&amp;#60;&amp;#47;returns&amp;#62;&lt;br /&gt;protected string ParametersToTypeList&amp;#40;params object&amp;#91;&amp;#93; parameters&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  List&amp;#60;string&amp;#62; types &amp;#61; new List&amp;#60;string&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#160;&lt;br /&gt;  foreach &amp;#40;object parameter in parameters&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    if &amp;#40;parameter &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;      types.Add&amp;#40;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#41;&amp;#59;&lt;br /&gt;    else&lt;br /&gt;      types.Add&amp;#40;&amp;#34;null&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&amp;#160;&lt;br /&gt;  return string.Join&amp;#40;&amp;#34;, &amp;#34;, types.ToArray&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>BradWilson</author><pubDate>Thu, 16 May 2013 07:10:23 GMT</pubDate><guid isPermaLink="false">Closed Issue: Bug in ParametersToTypeList method of the BuilderStrategy class [14140] 20130516071023A</guid></item><item><title>Commented Issue: Using custom Parameter Attribute gives Key Not Found in Dictionary Exception</title><link>http://objectbuilder.codeplex.com/WorkItem/View.aspx?WorkItemId=22214</link><description>Hi There,&lt;br /&gt;&lt;br /&gt;We have developed our own custom attribute similiar to the CreateNew attribute in WCSF. We have called it CreateNewOnce so that within an HTTPContext, an object of a particular type is created just once, no matter how many times its property is accessed. I have attached the code below. Now, this worked perfectly in Microsoft.Practices.CompositeWeb.EnterpriseLibrary v 2.0.0.0 but in the new 3.5 version it gives a Key Not found Exception. I have pasted the exception below as well. Its almost as if the Object Builder is unaware of the CreateNewOnce attribute. Do we need to register it somewhere to let Object Builder know of its existance. I would have thought inherting from Parameter Attribute should do that for us. What has changed in the new Object Builder version&amp;#63; &lt;br /&gt;&lt;br /&gt;Any help will be greatly apreciated. The code breaks at  public CreateNewOnceAttribute&amp;#40;&amp;#41;        &amp;#123; &amp;#125;&lt;br /&gt;&lt;br /&gt;Thanks Jatin&lt;br /&gt;&lt;br /&gt;Error&amp;#58;&lt;br /&gt;&amp;#91;KeyNotFoundException&amp;#58; The given key was not present in the dictionary.&amp;#93;&lt;br /&gt;&lt;br /&gt;System.ThrowHelper.ThrowKeyNotFoundException&amp;#40;&amp;#41; &amp;#43;28&lt;br /&gt;&lt;br /&gt;System.Collections.Generic.Dictionary&amp;#96;2.get_Item&amp;#40;TKey key&amp;#41; &amp;#43;7452124&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Parameters.ParameterResolverMap.GetResolver&amp;#40;ParameterAttribute resolutionAttribute&amp;#41; &amp;#43;77&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Properties.SetPropertiesStrategy.EmitResolveProperty&amp;#40;ILGenerator il, PropertyInfo prop&amp;#41; &amp;#43;87&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Properties.SetPropertiesStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild, ILGenerator il&amp;#41; &amp;#43;395&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.PlanBuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;105&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.PlanBuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;126&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.DynamicMethodPlanBuilderPolicy.CreatePlan&amp;#40;Type typeToBuild, String idToBuild&amp;#41; &amp;#43;372&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.BuildPlanStrategy.GetPlanFromContext&amp;#40;IBuilderContext context, Type typeToBuild, String idToBuild&amp;#41; &amp;#43;157&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.BuildPlanStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;51&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.Strategies.SimplifiedSingletonStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;245&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type t, Object existing, String id&amp;#41; &amp;#43;278&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.BuilderStrategies.ContainerAwareTypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;255&lt;br /&gt;&lt;br /&gt;BuildUp_ASP.modules_inbox_inbox_aspx&amp;#40;IBuilderContext , Type , Object , String &amp;#41; &amp;#43;171&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.DynamicMethodBuildPlan.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String id&amp;#41; &amp;#43;63&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.BuildPlanStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;81&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.Strategies.SimplifiedSingletonStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;245&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type t, Object existing, String id&amp;#41; &amp;#43;278&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.BuilderStrategies.ContainerAwareTypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;289&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.WCSFBuilderBase&amp;#96;1.DoBuildUp&amp;#40;IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList&amp;#91;&amp;#93; transientPolicies&amp;#41; &amp;#43;139&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.WCSFBuilderBase&amp;#96;1.BuildUp&amp;#40;IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList&amp;#91;&amp;#93; transientPolicies&amp;#41; &amp;#43;55&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.CompositionContainer.BuildItem&amp;#40;IBuilder&amp;#96;1 builder, IReadWriteLocator locator, Object item&amp;#41; &amp;#43;411&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.WebClientApplication.BuildItemWithCurrentContext&amp;#40;Object obj&amp;#41; &amp;#43;187&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.Web.UI.Page.OnPreInit&amp;#40;EventArgs e&amp;#41; &amp;#43;47&lt;br /&gt;&lt;br /&gt;System.Web.UI.Page.PerformPreInit&amp;#40;&amp;#41; &amp;#43;31&lt;br /&gt;&lt;br /&gt;System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;282&lt;br /&gt;Comments: ** Comment from web user: jatindua ** &lt;p&gt;Sorry the Impact is High not Low...&lt;/p&gt;</description><author>jatindua</author><pubDate>Wed, 29 Apr 2009 00:42:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: Using custom Parameter Attribute gives Key Not Found in Dictionary Exception 20090429124250A</guid></item><item><title>Created Issue: Using custom Parameter Attribute gives Key Not Found in Dictionary Exception</title><link>http://objectbuilder.codeplex.com/WorkItem/View.aspx?WorkItemId=22214</link><description>Hi There,&lt;br /&gt;&lt;br /&gt;We have developed our own custom attribute similiar to the CreateNew attribute in WCSF. We have called it CreateNewOnce so that within an HTTPContext, an object of a particular type is created just once, no matter how many times its property is accessed. I have attached the code below. Now, this worked perfectly in Microsoft.Practices.CompositeWeb.EnterpriseLibrary v 2.0.0.0 but in the new 3.5 version it gives a Key Not found Exception. I have pasted the exception below as well. Its almost as if the Object Builder is unaware of the CreateNewOnce attribute. Do we need to register it somewhere to let Object Builder know of its existance. I would have thought inherting from Parameter Attribute should do that for us. What has changed in the new Object Builder version&amp;#63; &lt;br /&gt;&lt;br /&gt;Any help will be greatly apreciated. The code breaks at  public CreateNewOnceAttribute&amp;#40;&amp;#41;        &amp;#123; &amp;#125;&lt;br /&gt;&lt;br /&gt;Thanks Jatin&lt;br /&gt;&lt;br /&gt;Error&amp;#58;&lt;br /&gt;&amp;#91;KeyNotFoundException&amp;#58; The given key was not present in the dictionary.&amp;#93;&lt;br /&gt;&lt;br /&gt;System.ThrowHelper.ThrowKeyNotFoundException&amp;#40;&amp;#41; &amp;#43;28&lt;br /&gt;&lt;br /&gt;System.Collections.Generic.Dictionary&amp;#96;2.get_Item&amp;#40;TKey key&amp;#41; &amp;#43;7452124&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Parameters.ParameterResolverMap.GetResolver&amp;#40;ParameterAttribute resolutionAttribute&amp;#41; &amp;#43;77&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Properties.SetPropertiesStrategy.EmitResolveProperty&amp;#40;ILGenerator il, PropertyInfo prop&amp;#41; &amp;#43;87&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Properties.SetPropertiesStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild, ILGenerator il&amp;#41; &amp;#43;395&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.PlanBuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;105&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.PlanBuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;126&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.DynamicMethodPlanBuilderPolicy.CreatePlan&amp;#40;Type typeToBuild, String idToBuild&amp;#41; &amp;#43;372&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.BuildPlanStrategy.GetPlanFromContext&amp;#40;IBuilderContext context, Type typeToBuild, String idToBuild&amp;#41; &amp;#43;157&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.BuildPlanStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;51&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.Strategies.SimplifiedSingletonStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;245&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type t, Object existing, String id&amp;#41; &amp;#43;278&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.BuilderStrategies.ContainerAwareTypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;255&lt;br /&gt;&lt;br /&gt;BuildUp_ASP.modules_inbox_inbox_aspx&amp;#40;IBuilderContext , Type , Object , String &amp;#41; &amp;#43;171&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.DynamicMethodBuildPlan.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String id&amp;#41; &amp;#43;63&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.BuildPlanStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;81&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.Strategies.SimplifiedSingletonStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;245&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type t, Object existing, String id&amp;#41; &amp;#43;278&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;38&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.BuilderStrategies.ContainerAwareTypeMappingStrategy.BuildUp&amp;#40;IBuilderContext context, Type typeToBuild, Object existing, String idToBuild&amp;#41; &amp;#43;289&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.WCSFBuilderBase&amp;#96;1.DoBuildUp&amp;#40;IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList&amp;#91;&amp;#93; transientPolicies&amp;#41; &amp;#43;139&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.ObjectBuilder.WCSFBuilderBase&amp;#96;1.BuildUp&amp;#40;IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList&amp;#91;&amp;#93; transientPolicies&amp;#41; &amp;#43;55&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.CompositionContainer.BuildItem&amp;#40;IBuilder&amp;#96;1 builder, IReadWriteLocator locator, Object item&amp;#41; &amp;#43;411&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.WebClientApplication.BuildItemWithCurrentContext&amp;#40;Object obj&amp;#41; &amp;#43;187&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.CompositeWeb.Web.UI.Page.OnPreInit&amp;#40;EventArgs e&amp;#41; &amp;#43;47&lt;br /&gt;&lt;br /&gt;System.Web.UI.Page.PerformPreInit&amp;#40;&amp;#41; &amp;#43;31&lt;br /&gt;&lt;br /&gt;System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;282&lt;br /&gt;</description><author>jatindua</author><pubDate>Wed, 29 Apr 2009 00:33:58 GMT</pubDate><guid isPermaLink="false">Created Issue: Using custom Parameter Attribute gives Key Not Found in Dictionary Exception 20090429123358A</guid></item><item><title>CREATED ISSUE: Create objects through a static method call</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=15167</link><description>There is a large number of libraries &amp;#40;including the framework itself&amp;#41;, that uses a static method call on a factory class to create an instance of an object. I am in process of creating such strategy that will take a type, a method name, and a list of parameters, and use them to get a desired object.&lt;br /&gt;</description><author>yurik</author><pubDate>Wed, 13 Feb 2008 17:38:17 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Create objects through a static method call 20080213053817P</guid></item><item><title>COMMENTED ISSUE: Injecting COM objects throws an exception</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=3496</link><description>Hi Guys,&lt;br /&gt;&lt;br /&gt;ObjectBuilding my way through the visual studio IDE I ran into a problem when injecting Com-objects &amp;#40;such as the realization EnvDTE.DTE&amp;#41;.&lt;br /&gt;&lt;br /&gt;problem occurs when creating an object that gets an COM-object injected in its constructor.&lt;br /&gt;&lt;br /&gt;Problem boils down to the Guard.TypeIsAssignableFromType throwing an exception if the found type is not assignablable from the constructor-paramters type. &lt;br /&gt;&lt;br /&gt;if &amp;#40;&amp;#33;assignee.IsAssignableFrom&amp;#40;providedType&amp;#41;&amp;#41;&lt;br /&gt;  throw new IncompatibleTypesException&amp;#40;....&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;My workaround &amp;#40;the quickest, problably not the best -but here to provide insight on the issue&amp;#41;&lt;br /&gt;&lt;br /&gt;if &amp;#40;&amp;#33;providedType.IsCOMObject&amp;#41;&lt;br /&gt;if &amp;#40;&amp;#33;assignee.IsAssignableFrom&amp;#40;providedType&amp;#41;&amp;#41;&lt;br /&gt;  throw new IncompatibleTypesException&amp;#40;....&amp;#41;&amp;#59;&lt;br /&gt;Comments: ** Comment from web user: yurik ** &lt;p&gt;I ran into a similar problem, but with remoting objects. My solution was to add&lt;br /&gt;  &amp;#38;&amp;#38; providedType &amp;#33;&amp;#61; typeof&amp;#40;MarshalByRefObject&amp;#41; &lt;br /&gt;to the Guard.TypeIsAssignableFromType&amp;#40;&amp;#41;, which solved it for any objects created through remoting.&lt;/p&gt;</description><author>yurik</author><pubDate>Wed, 13 Feb 2008 17:33:16 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Injecting COM objects throws an exception 20080213053316P</guid></item><item><title>COMMENTED ISSUE: Bug in ParametersToTypeList method of the BuilderStrategy class</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=14140</link><description>I found a bug in the ParametersToTypeList method of the BuilderStrategy class.  Inside the method it execute &amp;#34;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#34;. This does not take into account that &amp;#34;parameter&amp;#34; can be null, causing a exeception.  This bug was exposed when I used a SCSF service with a constructor as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;  MyService&amp;#40;&amp;#91;ServiceDependency&amp;#93; IOtherService s1, &amp;#91;ServiceDependency&amp;#40;Required&amp;#61;false&amp;#41;&amp;#93; IAnotherService s2&amp;#41;&lt;br /&gt;&lt;br /&gt;The second parameter is not required and can thus be null.  These two parameters is eventually passed into the ParametersToTypeList function where the second entry in the array is null, causing the exception.  The fix for the bug is as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; Creates a trace list of parameter types from a list of &amp;#60;see cref&amp;#61;&amp;#34;IParameter&amp;#34;&amp;#47;&amp;#62; objects.&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;param name&amp;#61;&amp;#34;parameters&amp;#34;&amp;#62;The parameters&amp;#60;&amp;#47;param&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;returns&amp;#62;The type list in string form&amp;#60;&amp;#47;returns&amp;#62;&lt;br /&gt;protected string ParametersToTypeList&amp;#40;params object&amp;#91;&amp;#93; parameters&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  List&amp;#60;string&amp;#62; types &amp;#61; new List&amp;#60;string&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;  foreach &amp;#40;object parameter in parameters&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    if &amp;#40;parameter &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;      types.Add&amp;#40;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#41;&amp;#59;&lt;br /&gt;    else&lt;br /&gt;      types.Add&amp;#40;&amp;#34;null&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  return string.Join&amp;#40;&amp;#34;, &amp;#34;, types.ToArray&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: BradWilson ** &lt;p&gt;Fixed in change set 29324&lt;/p&gt;</description><author>BradWilson</author><pubDate>Sun, 23 Dec 2007 20:07:43 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Bug in ParametersToTypeList method of the BuilderStrategy class 20071223080743P</guid></item><item><title>COMMENTED ISSUE: Bug in ParametersToTypeList method of the BuilderStrategy class</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=14140</link><description>I found a bug in the ParametersToTypeList method of the BuilderStrategy class.  Inside the method it execute &amp;#34;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#34;. This does not take into account that &amp;#34;parameter&amp;#34; can be null, causing a exeception.  This bug was exposed when I used a SCSF service with a constructor as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;  MyService&amp;#40;&amp;#91;ServiceDependency&amp;#93; IOtherService s1, &amp;#91;ServiceDependency&amp;#40;Required&amp;#61;false&amp;#41;&amp;#93; IAnotherService s2&amp;#41;&lt;br /&gt;&lt;br /&gt;The second parameter is not required and can thus be null.  These two parameters is eventually passed into the ParametersToTypeList function where the second entry in the array is null, causing the exception.  The fix for the bug is as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; Creates a trace list of parameter types from a list of &amp;#60;see cref&amp;#61;&amp;#34;IParameter&amp;#34;&amp;#47;&amp;#62; objects.&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;param name&amp;#61;&amp;#34;parameters&amp;#34;&amp;#62;The parameters&amp;#60;&amp;#47;param&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;returns&amp;#62;The type list in string form&amp;#60;&amp;#47;returns&amp;#62;&lt;br /&gt;protected string ParametersToTypeList&amp;#40;params object&amp;#91;&amp;#93; parameters&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  List&amp;#60;string&amp;#62; types &amp;#61; new List&amp;#60;string&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;  foreach &amp;#40;object parameter in parameters&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    if &amp;#40;parameter &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;      types.Add&amp;#40;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#41;&amp;#59;&lt;br /&gt;    else&lt;br /&gt;      types.Add&amp;#40;&amp;#34;null&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  return string.Join&amp;#40;&amp;#34;, &amp;#34;, types.ToArray&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: BradWilson ** &lt;p&gt;This method isn&amp;#39;t current used in OB 2, so I&amp;#39;m just going to remove it.&lt;/p&gt;</description><author>BradWilson</author><pubDate>Sat, 01 Dec 2007 17:44:01 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Bug in ParametersToTypeList method of the BuilderStrategy class 20071201054401P</guid></item><item><title>CREATED ISSUE: Bug in ParametersToTypeList method of the BuilderStrategy class</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=14140</link><description>I found a bug in the ParametersToTypeList method of the BuilderStrategy class.  Inside the method it execute &amp;#34;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#34;. This does not take into account that &amp;#34;parameter&amp;#34; can be null, causing a exeception.  This bug was exposed when I used a SCSF service with a constructor as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;  MyService&amp;#40;&amp;#91;ServiceDependency&amp;#93; IOtherService s1, &amp;#91;ServiceDependency&amp;#40;Required&amp;#61;false&amp;#41;&amp;#93; IAnotherService s2&amp;#41;&lt;br /&gt;&lt;br /&gt;The second parameter is not required and can thus be null.  These two parameters is eventually passed into the ParametersToTypeList function where the second entry in the array is null, causing the exception.  The fix for the bug is as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; Creates a trace list of parameter types from a list of &amp;#60;see cref&amp;#61;&amp;#34;IParameter&amp;#34;&amp;#47;&amp;#62; objects.&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;param name&amp;#61;&amp;#34;parameters&amp;#34;&amp;#62;The parameters&amp;#60;&amp;#47;param&amp;#62;&lt;br /&gt;&amp;#47;&amp;#47;&amp;#47; &amp;#60;returns&amp;#62;The type list in string form&amp;#60;&amp;#47;returns&amp;#62;&lt;br /&gt;protected string ParametersToTypeList&amp;#40;params object&amp;#91;&amp;#93; parameters&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  List&amp;#60;string&amp;#62; types &amp;#61; new List&amp;#60;string&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;  foreach &amp;#40;object parameter in parameters&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    if &amp;#40;parameter &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;      types.Add&amp;#40;parameter.GetType&amp;#40;&amp;#41;.Name&amp;#41;&amp;#59;&lt;br /&gt;    else&lt;br /&gt;      types.Add&amp;#40;&amp;#34;null&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  return string.Join&amp;#40;&amp;#34;, &amp;#34;, types.ToArray&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>fgretief</author><pubDate>Wed, 28 Nov 2007 08:34:40 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Bug in ParametersToTypeList method of the BuilderStrategy class 20071128083440A</guid></item><item><title>CREATED FEATURE: Adapt CAB's WorkItem</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=13765</link><description>Hi,&lt;br /&gt; &lt;br /&gt;I really would like to see sample code or documentation on adopting the new ObjectBuilder within CAB WorkItem.&lt;br /&gt;Something like what to change in ManagedObjectCollection etc. to use the new ObjectBuilder.&lt;br /&gt; &lt;br /&gt;The reason why asking about this is that we build our own company&amp;#39;s framework on top of CAB and would like the use the new features, bugfixes, and improvements of ObjectBuilder.&lt;br /&gt; &lt;br /&gt;That would be cool&lt;br /&gt;-Matthias&lt;br /&gt;</description><author>BradWilson</author><pubDate>Thu, 08 Nov 2007 22:06:53 GMT</pubDate><guid isPermaLink="false">CREATED FEATURE: Adapt CAB's WorkItem 20071108100653P</guid></item><item><title>COMMENTED ISSUE: n-deep Containers Not Supported</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=13636</link><description>Trying to embed containers multiple levels deep doesn&amp;#39;t work because staged strategy chain does not properly consult the parent strategy chain.&lt;br /&gt;Comments: ** Comment from web user: BradWilson ** &lt;p&gt;Fixed in change set 28159.&lt;/p&gt;</description><author>BradWilson</author><pubDate>Thu, 01 Nov 2007 21:26:13 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: n-deep Containers Not Supported 20071101092613P</guid></item><item><title>CREATED ISSUE: n-deep Containers Not Supported</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=13636</link><description>Trying to embed containers multiple levels deep doesn&amp;#39;t work because staged strategy chain does not properly consult the parent strategy chain.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Thu, 01 Nov 2007 21:25:30 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: n-deep Containers Not Supported 20071101092530P</guid></item><item><title>COMMENTED ISSUE: Serious need for documentation</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=8785</link><description>It&amp;#39;s about time we get an documentation, at least version 2 should have this upon release.&lt;br /&gt;Comments: ** Comment from web user: RJanzen ** &lt;p&gt;I would be happy with a good documentation.&lt;/p&gt;</description><author>RJanzen</author><pubDate>Thu, 25 Oct 2007 10:23:27 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Serious need for documentation 20071025102327A</guid></item><item><title>CREATED FEATURE: EventBroker enhancements</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=12796</link><description>I would love to see a strategy for event raising.&lt;br /&gt; &lt;br /&gt;Event Raising can be done sequentially or in parallel.&lt;br /&gt; &lt;br /&gt;It can also be stopped after an handler throws an exception or cumulate the exceptions and throw the sum of all exceptions at the end.&lt;br /&gt; &lt;br /&gt;This strategy could be controlled by attributes on the event source.&lt;br/&gt;</description><author>BradWilson</author><pubDate>Sat, 15 Sep 2007 22:58:43 GMT</pubDate><guid isPermaLink="false">CREATED FEATURE: EventBroker enhancements 20070915105843P</guid></item><item><title>COMMENTED ISSUE: Interception Refactorings</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=12156</link><description>Much stuff is shared between ILEmitProxy and RemotingProxy. I would see stuff being extracted into a shared class.&lt;br /&gt;&lt;br /&gt;- The Handlers Dictionary.&lt;br /&gt;- Almost all of the Invoke method implementation&lt;br /&gt;&lt;br /&gt;Same with InterfaceInterceptionStrategy and VirtualInterceptionStrategy, I would extract an ILEmitInterceptionStrategy base class &lt;br /&gt;- BuildUp implementation&lt;br /&gt;- Even Intercept&amp;#42; has common stuff&lt;br /&gt;&lt;br /&gt;BTW, do you mind we propose refactorings&amp;#63;&lt;br/&gt;Comments: ** Comment from web user: BradWilson ** &lt;p&gt;We were definitely headed in that direction, but we appreciate the nudge&amp;#33; &amp;#58;&amp;#41;&lt;/p&gt;</description><author>BradWilson</author><pubDate>Thu, 16 Aug 2007 16:08:27 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Interception Refactorings 20070816040827P</guid></item><item><title>CREATED ISSUE: Just implement Windsor features</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=12272</link><description>bug&amp;#58; ObjectBuilder isn&amp;#39;t as &amp;#34;awesome&amp;#34; as Windsor. Just implement Windsor features.&lt;br/&gt;</description><author>evarlast</author><pubDate>Thu, 16 Aug 2007 13:53:03 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Just implement Windsor features 20070816015303P</guid></item><item><title>CREATED ISSUE: Interception Refactorings</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=12156</link><description>Much stuff is shared between ILEmitProxy and RemotingProxy. I would see stuff being extracted into a shared class.&lt;br /&gt;&lt;br /&gt;- The Handlers Dictionary.&lt;br /&gt;- Almost all of the Invoke method implementation&lt;br /&gt;&lt;br /&gt;Same with InterfaceInterceptionStrategy and VirtualInterceptionStrategy, I would extract an ILEmitInterceptionStrategy base class &lt;br /&gt;- BuildUp implementation&lt;br /&gt;- Even Intercept&amp;#42; has common stuff&lt;br /&gt;&lt;br /&gt;BTW, do you mind we propose refactorings&amp;#63;&lt;br/&gt;</description><author>francois_tanguay</author><pubDate>Thu, 09 Aug 2007 16:42:18 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Interception Refactorings 20070809044218P</guid></item><item><title>COMMENTED TASK: Autowrapping interceptor for WinForms Threading</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=11400</link><description>See http&amp;#58;&amp;#47;&amp;#47;www.agileprogrammer.com&amp;#47;dotnetguy&amp;#47;archive&amp;#47;2006&amp;#47;11&amp;#47;22&amp;#47;21274.aspx for details.&lt;br/&gt;Comments: ** Comment from web user: francois_tanguay ** &lt;p&gt;FYI, I was planning to add a SynchronizedCallHandler to EntLibContrib. It would work with ISynchornizeInvoke so that when the target is either a Control or a View implementing the same interface, it would get invoked correctly if InvokeRequired. Any thoughts&amp;#63;&lt;/p&gt;</description><author>francois_tanguay</author><pubDate>Thu, 09 Aug 2007 13:46:18 GMT</pubDate><guid isPermaLink="false">COMMENTED TASK: Autowrapping interceptor for WinForms Threading 20070809014618P</guid></item><item><title>COMMENTED ISSUE: Serious need for documentation</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=8785</link><description>It&amp;#39;s about time we get an documentation, at least version 2 should have this upon release.&lt;br/&gt;Comments: ** Comment from web user: rrudracodeplex ** &lt;p&gt;It appears that lot of work is going into this project since last couple of months from source code monitoring. Documentation is the key to get people on board.&lt;/p&gt;</description><author>rrudracodeplex</author><pubDate>Thu, 09 Aug 2007 05:50:43 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Serious need for documentation 20070809055043A</guid></item><item><title>COMMENTED ISSUE: Serious need for documentation</title><link>http://www.codeplex.com/ObjectBuilder/WorkItem/View.aspx?WorkItemId=8785</link><description>It&amp;#39;s about time we get an documentation, at least version 2 should have this upon release.&lt;br/&gt;Comments: ** Comment from web user: DevilDog74 ** &lt;p&gt;I would be happy with a simple example of how to use the CreateNew attribute&lt;/p&gt;</description><author>DevilDog74</author><pubDate>Sun, 29 Jul 2007 20:31:40 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Serious need for documentation 20070729083140P</guid></item></channel></rss>