ICodeCleanUpFixerRegistrationService.TryRegisterFixerProvider(ICodeCleanUpFixerProvider) Method

Definition

Register a fixer provider which can participate in code cleanup. If the same instance of the provider is registered again only one instance will be kept Fixer providers should be registered when the language service or extension is initialzed

public:
 bool TryRegisterFixerProvider(Microsoft::VisualStudio::Language::CodeCleanUp::ICodeCleanUpFixerProvider ^ fixerProvider);
public bool TryRegisterFixerProvider (Microsoft.VisualStudio.Language.CodeCleanUp.ICodeCleanUpFixerProvider fixerProvider);
abstract member TryRegisterFixerProvider : Microsoft.VisualStudio.Language.CodeCleanUp.ICodeCleanUpFixerProvider -> bool
Public Function TryRegisterFixerProvider (fixerProvider As ICodeCleanUpFixerProvider) As Boolean

Parameters

Returns

Boolean

Applies to