AgentMulder.ReSharper.Domain.Patterns.ModuleBasedPatternBase.GetComponentRegistrations C# (CSharp) Method

GetComponentRegistrations() public method

public GetComponentRegistrations ( ITreeNode registrationRootElement ) : IEnumerable
registrationRootElement ITreeNode
return IEnumerable
        public override IEnumerable<IComponentRegistration> GetComponentRegistrations(ITreeNode registrationRootElement)
        {
            IStructuralMatchResult match = Match(registrationRootElement);

            if (match.Matched)
            {
                IModule module = GetTargetModule(match);

                if (module != null)
                {
                    yield return new ModuleBasedOnRegistration(registrationRootElement, module);
                }
            }
        }