public override IEnumerable<FilteredRegistrationBase> GetBasedOnRegistrations(ITreeNode registrationRootElement)
{
IStructuralMatchResult match = Match(registrationRootElement);
if (match.Matched)
{
bool includeSubnamespaces;
INamespace namespaceElement = GetNamespaceElement(match, out includeSubnamespaces);
if (namespaceElement != null)
{
yield return new InNamespaceRegistration(registrationRootElement, namespaceElement, includeSubnamespaces);
}
}
}