C# Class Rubberduck.Refactorings.Rename.RenameRefactoring

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
RenameRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor, IMessageBox messageBox, RubberduckParserState state ) : System.Linq

Private Methods

Method Description
FindDeclarationForIdentifier ( ) : Rubberduck.Parsing.Symbols.Declaration
GetReplacementLine ( CodeModule module, Rubberduck.Parsing.Symbols.Declaration target, string newName ) : string
GetReplacementLine ( string content, string newName, Rubberduck.VBEditor.Selection selection ) : string
Rename ( ) : void
RenameControl ( ) : void
RenameDeclaration ( Rubberduck.Parsing.Symbols.Declaration target, string newName ) : void
RenameModule ( ) : void
RenameProject ( ) : void
RenameUsages ( Rubberduck.Parsing.Symbols.Declaration target, string interfaceName = null ) : 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

RenameRefactoring() public method

public RenameRefactoring ( IRefactoringPresenterFactory factory, IActiveCodePaneEditor editor, IMessageBox messageBox, RubberduckParserState state ) : System.Linq
factory IRefactoringPresenterFactory
editor IActiveCodePaneEditor
messageBox IMessageBox
state RubberduckParserState
return System.Linq