AgentMulder.Containers.CastleWindsor.Patterns.FromTypes.BasedOn.WhereArgument.ComponentIsInSameNamespaceAsNonGeneric.GetNamespaceElement C# (CSharp) Method

GetNamespaceElement() protected method

protected GetNamespaceElement ( IStructuralMatchResult match, bool &includeSubnamespaces ) : INamespace
match IStructuralMatchResult
includeSubnamespaces bool
return INamespace
        protected override INamespace GetNamespaceElement(IStructuralMatchResult match, out bool includeSubnamespaces)
        {
            var arguments = match.GetMatchedElementList("arguments").Cast<ICSharpArgument>().ToArray();

            return NamespaceExtractor.GetNamespace(arguments, out includeSubnamespaces);
        }