London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 10.10.4
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.

Extension Methods