ICodeCleanUpFixerProvider.GetFixers 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.
Overloads
GetFixers() |
Create or return fixers which are able to handle contexts which are not represented by a content type. For example IVsHierarchy and ItemId |
GetFixers(IContentType) |
Create or return fixer instances which are able to operate on the passed in content type |
GetFixers()
Create or return fixers which are able to handle contexts which are not represented by a content type. For example IVsHierarchy and ItemId
public:
System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Language::CodeCleanUp::ICodeCleanUpFixer ^> ^ GetFixers();
public System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Language.CodeCleanUp.ICodeCleanUpFixer> GetFixers ();
abstract member GetFixers : unit -> System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Language.CodeCleanUp.ICodeCleanUpFixer>
Public Function GetFixers () As IReadOnlyCollection(Of ICodeCleanUpFixer)
Returns
A set of fixers or empty
Applies to
GetFixers(IContentType)
Create or return fixer instances which are able to operate on the passed in content type
public:
System::Collections::Generic::IReadOnlyCollection<Microsoft::VisualStudio::Language::CodeCleanUp::ICodeCleanUpFixer ^> ^ GetFixers(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Language.CodeCleanUp.ICodeCleanUpFixer> GetFixers (Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member GetFixers : Microsoft.VisualStudio.Utilities.IContentType -> System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Language.CodeCleanUp.ICodeCleanUpFixer>
Public Function GetFixers (contentType As IContentType) As IReadOnlyCollection(Of ICodeCleanUpFixer)
Parameters
- contentType
- IContentType
Content type fixer can operate on
Returns
A set of fixers of empty