public void AddBindableChild(IBindsToCreationContext iucc) { m_bindableChildren.Add(iucc); if (iucc is IRequirement) { m_subRequirements.Add(iucc); } }
// None, currently #endregion #region IBindsToCreationContext Members public void AddBindableChild(IBindsToCreationContext iucc) { //Console.Write("Adding bindable child : " + iucc.ToString()); if (iucc == null) { //System.Diagnostics.Debugger.Break(); } m_bindableChildren.Add(iucc); if (iucc is IRequirement) { m_subRequirements.Add(iucc); } //Console.WriteLine((iucc is Requirement)?" - also a requirement":""); }