Interface IComponentMatcher

Used to match components in a hierarchy. Both MatchesComponent(IComponent) for the IComponent and MatchesContainer(IContainer) for the parent IContainer must match in order to get a match.

Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public interface IComponentMatcher : IContainerMatcher

Methods

MatchesComponent(IComponent)

Answers if the given component is a match.

Declaration
bool MatchesComponent(IComponent component)
Parameters
Type Name Description
IComponent component

The component to match.

Returns
Type Description
System.Boolean

true if the component is a match; otherwise false.