C# Class Rubberduck.Refactorings.RemoveParameters.RemoveParametersRefactoring

Inheritance: IRefactoring
Datei anzeigen Open project: retailcoder/Rubberduck Class Usage Examples

Public Methods

Method 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

Method 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 method

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

Refactor() public method

public Refactor ( ) : void
return void

Refactor() public method

public Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
target Rubberduck.Parsing.Symbols.Declaration
return void

Refactor() public method

public Refactor ( QualifiedSelection target ) : void
target Rubberduck.VBEditor.QualifiedSelection
return void

RemoveParametersRefactoring() public method

public RemoveParametersRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor ) : System
factory IRefactoringPresenterFactory
editor IActiveCodePaneEditor
return System