C# Class Rubberduck.Refactorings.RemoveParameters.RemoveParametersRefactoring

Inheritance: IRefactoring
Afficher le fichier Open project: retailcoder/Rubberduck Class Usage Examples

Méthodes publiques

Méthode Description
QuickFix ( RubberduckParserState parseResult, QualifiedSelection selection ) : void
Refactor ( ) : void
Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
Refactor ( QualifiedSelection target ) : void
RemoveParametersRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor ) : System

Private Methods

Méthode Description
AdjustReferences ( IEnumerable references, Rubberduck.Parsing.Symbols.Declaration method ) : void
AdjustSignatures ( ) : void
AdjustSignatures ( Rubberduck.Parsing.Symbols.Declaration declaration ) : void
GetLetterOrSetter ( Rubberduck.Parsing.Symbols.Declaration declaration, DeclarationType declarationType ) : Rubberduck.Parsing.Symbols.Declaration
GetOldSignature ( Rubberduck.Parsing.Symbols.Declaration target ) : string
RemoveCallParameter ( VBAParser paramList, CodeModule module ) : void
RemoveParameters ( ) : void
RemoveSignatureParameters ( Rubberduck.Parsing.Symbols.Declaration target, VBAParser paramList, CodeModule module ) : void
ReplaceCommas ( string signature, int indexParamRemoved ) : string

Method Details

QuickFix() public méthode

public QuickFix ( RubberduckParserState parseResult, QualifiedSelection selection ) : void
parseResult Rubberduck.Parsing.VBA.RubberduckParserState
selection Rubberduck.VBEditor.QualifiedSelection
Résultat void

Refactor() public méthode

public Refactor ( ) : void
Résultat void

Refactor() public méthode

public Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
target Rubberduck.Parsing.Symbols.Declaration
Résultat void

Refactor() public méthode

public Refactor ( QualifiedSelection target ) : void
target Rubberduck.VBEditor.QualifiedSelection
Résultat void

RemoveParametersRefactoring() public méthode

public RemoveParametersRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor ) : System
factory IRefactoringPresenterFactory
editor IActiveCodePaneEditor
Résultat System