共用方式為


ISuggestedActionPriorityRegistryService Interface

Definition

The service that maintains the collection of request priorities for obtaining SuggestedActionSet using the IAsyncSuggestedActionsSource.

Combines default priorities with names defined in DefaultOrderings with custom priorities exported using SuggestedActionPriorityDefinition.

public interface class ISuggestedActionPriorityRegistryService
public interface ISuggestedActionPriorityRegistryService
type ISuggestedActionPriorityRegistryService = interface
Public Interface ISuggestedActionPriorityRegistryService

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(ISuggestedActionPriorityRegistryService))]

Properties

Priorities

Gets an enumeration of all registered request priorities.

PriorityComparer

Gets a IComparer<T> which compares names of request priorities in order of their precedence.

Applies to