/// <summary> /// Initializes a new instance of the <see cref="BindXmlElementProcessor"/> class. /// </summary> /// <param name="bindingBuilderFactory">The binding builder factory.</param> /// <param name="childElementProcessor">The child element processor.</param> public BindXmlElementProcessor( IBindingBuilderFactory bindingBuilderFactory, IChildElementProcessor childElementProcessor) { this.bindingBuilderFactory = bindingBuilderFactory; this.ElementTags = new[] { Tags.Binding, Tags.HasCondition, Tags.HasMetadata, Tags.HasName, Tags.HasScope }; this.excludedAttributes = new[] { "service", "to", "toProvider" }; this.childElementProcessor = childElementProcessor; this.childElementProcessor.SetOwner(this); }