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);
}
}
}