Partager via


IContextRuleMonitorService Interface

Definition

Represents a service to manage and monitor state of IDE context rules.

public interface class IContextRuleMonitorService
public interface IContextRuleMonitorService
type IContextRuleMonitorService = interface
Public Interface IContextRuleMonitorService

Methods

RegisterContextRuleAsync(ContextRuleMetadata, CancellationToken)

Creates a new Context rule that is monitored and requests that a ContextRuleStateChanged event be raised when the rule changes state, such as becoming active.

Events

ContextRuleStateChanged

Occurs when the state of a context rule changes, such as when the Rule becomes active.

Applies to