Skip to content

Conversation

@FodderMK
Copy link
Contributor

@FodderMK FodderMK commented Mar 3, 2017

Seeing as TypeUtils.GetAssignableTypes supported the includeChildren parameter it made sense to expose this functionality in the ToNamespace and ToNamespaceSingleton calls. I also did a quick cleanup of the documentation while I was in there.

@intentor intentor self-requested a review March 7, 2017 01:24
@intentor intentor self-assigned this Mar 7, 2017
@intentor intentor added this to the v2.25 milestone Mar 7, 2017
@intentor intentor merged commit b5727f0 into intentor:develop Mar 7, 2017
/// <returns>The binding condition object related to this binding.</returns>
public IBindingConditionFactory ToNamespaceSingleton(string namespaceName, bool includeChildren)
{
return this.ToNamespace(namespaceName, BindingInstance.Singleton, false);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here includeChildren was not added. However, I'll fix it after merge.

/// <param name="includeChildren">Indicates whether child namespaces should be included.</param>
/// <returns>The binding condition object related to this binding.</returns>
public IBindingConditionFactory ToNamespace(string namespaceName, bool includeChildren)
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adic's source code uses curly braces on the same line as declarations. I'll format it when merged.


namespace Adic.Binding {
//// <summary>
/// <summary>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 👍

I also fixed the same issue on other files.

intentor added a commit that referenced this pull request Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants