IPerformanceAdviserRule
Description:
Base class to derive specific performance adviser rules from.
Base class to derive specific performance adviser rules from.
public interface IPerformanceAdviserRule
| Name | Return Type | Description |
|---|---|---|
| ExecuteElementCheck(Document, Element) | None | Invoked by performance advisor for each element to be checked. |
| FinalizeCheck(Document) | None | Invoked by performance advisor once in the end of the check. |
| GetDescription() | String | Retrieves the description of the rule. |
| GetElementFilter(Document) | ElementFilter | Retrieves a filter to restrict elements to be checked. |
| GetName() | String | Retrieves the name of the rule. |
| InitCheck(Document) | None | Invoked by performance advisor once in the beginning of the check. If rule checks document as a whole, the check can be performed in this method. |
| WillCheckElements() | Boolean | Reports if rule needs to be executed on individual elements. |