C# Class Rubberduck.Refactorings.MoveCloserToUsage.MoveCloserToUsageRefactoring

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

Méthodes publiques

Méthode Description
MoveCloserToUsageRefactoring ( RubberduckParserState parseResult, IActiveCodePaneEditor editor, IMessageBox messageBox ) : System
Refactor ( ) : void
Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
Refactor ( QualifiedSelection selection ) : void

Private Methods

Méthode Description
GetBeginningOfInstructionSelection ( Rubberduck.Parsing.Symbols.Declaration target, Rubberduck.VBEditor.Selection referenceSelection ) : Rubberduck.VBEditor.Selection
GetDeclarationString ( Rubberduck.Parsing.Symbols.Declaration target ) : string
InsertDeclaration ( Rubberduck.Parsing.Symbols.Declaration target ) : void
MoveCloserToUsage ( Rubberduck.Parsing.Symbols.Declaration target ) : void
RemoveExtraComma ( string str, int numParams, int indexRemoved ) : string
RemoveVariable ( Rubberduck.Parsing.Symbols.Declaration target ) : void
TargetIsReferencedFromMultipleMethods ( Rubberduck.Parsing.Symbols.Declaration target ) : bool

Method Details

MoveCloserToUsageRefactoring() public méthode

public MoveCloserToUsageRefactoring ( RubberduckParserState parseResult, IActiveCodePaneEditor editor, IMessageBox messageBox ) : System
parseResult Rubberduck.Parsing.VBA.RubberduckParserState
editor IActiveCodePaneEditor
messageBox IMessageBox
Résultat System

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 selection ) : void
selection Rubberduck.VBEditor.QualifiedSelection
Résultat void