ISuggestedActionSetCollector Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |