CodeFixProvider.ComputeRequestPriority Method
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.
Computes the CodeActionRequestPriority group this provider should be considered to run at. Legal values this can be must be between Low and High.
protected virtual Microsoft.CodeAnalysis.CodeActions.CodeActionRequestPriority ComputeRequestPriority ();
abstract member ComputeRequestPriority : unit -> Microsoft.CodeAnalysis.CodeActions.CodeActionRequestPriority
override this.ComputeRequestPriority : unit -> Microsoft.CodeAnalysis.CodeActions.CodeActionRequestPriority
Protected Overridable Function ComputeRequestPriority () As CodeActionRequestPriority
Returns
Remarks
Values outside of this range will be clamped to be within that range. Requests for High may be downgraded to Default as they poorly behaving high-priority providers can cause a negative user experience.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.