C# Class Rubberduck.Refactorings.ReorderParameters.ReorderParametersRefactoring

Inheritance: IRefactoring
显示文件 Open project: retailcoder/Rubberduck Class Usage Examples

Public Methods

Method Description
Refactor ( ) : void
Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
Refactor ( QualifiedSelection target ) : void
ReorderParametersRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor, IMessageBox messageBox ) : Microsoft.Vbe.Interop

Private Methods

Method Description
AdjustReferences ( IEnumerable references ) : void
AdjustSignatures ( ) : void
AdjustSignatures ( Rubberduck.Parsing.Symbols.Declaration declaration ) : void
GetOldSignature ( Rubberduck.Parsing.Symbols.Declaration target ) : string
IsValidParamOrder ( ) : bool
RewriteCall ( VBAParser paramList, CodeModule module ) : void
RewriteSignature ( Rubberduck.Parsing.Symbols.Declaration target, VBAParser paramList, CodeModule module ) : void

Method Details

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

ReorderParametersRefactoring() public method

public ReorderParametersRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor, IMessageBox messageBox ) : Microsoft.Vbe.Interop
factory IRefactoringPresenterFactory
editor IActiveCodePaneEditor
messageBox IMessageBox
return Microsoft.Vbe.Interop