다음을 통해 공유


ISuggestedActionSetCollector Interface

Definition

Faciliates getting SuggestedActionSets using Add(SuggestedActionSet). When all or none SuggestedActionSets of the Priority are returned, call Complete() to allow lightbulb to display SuggestedActionSets returned by all IAsyncSuggestedActionsSource for that priority.

public interface class ISuggestedActionSetCollector
public interface ISuggestedActionSetCollector
type ISuggestedActionSetCollector = interface
Public Interface ISuggestedActionSetCollector

Remarks

All methods are thread safe and may be invoked from any thread.

Properties

Priority

Priority of the collector, which matches priority declared on ISuggestedActionsSourceProvider using SuggestedActionPriorityAttribute.

Methods

Add(SuggestedActionSet)

Adds SuggestedActionSet to be displayed at Priority. Might be invoked from any thread.

Complete()

Marks this collector as complete, allowing lightbulb to display SuggestedActionSets of Priority. Might be invoked from any thread.

Applies to