Docsv3.31.0
Back to API Reference
Class

ByModifier

sealed
Implements:IMarkupSelectorIModifierChangeSink

Targets markup whose modifier is of a chosen type.

public BaseModifier Modifier{ get; set }

Modifier signature matched by this selector.

public int Specificity{ get }
public bool Matches(ParseRule r, BaseModifier m)
public Action Changed

Raised after configuration changes that can affect matching or specificity. Mutable custom implementations must raise this for every such change so an owning chrome rule can reconcile.