C# 클래스 Rubberduck.Refactorings.MoveCloserToUsage.MoveCloserToUsageRefactoring

상속: IRefactoring
파일 보기 프로젝트 열기: retailcoder/Rubberduck 1 사용 예제들

공개 메소드들

메소드 설명
MoveCloserToUsageRefactoring ( RubberduckParserState parseResult, IActiveCodePaneEditor editor, IMessageBox messageBox ) : System
Refactor ( ) : void
Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
Refactor ( QualifiedSelection selection ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

MoveCloserToUsageRefactoring() 공개 메소드

public MoveCloserToUsageRefactoring ( RubberduckParserState parseResult, IActiveCodePaneEditor editor, IMessageBox messageBox ) : System
parseResult Rubberduck.Parsing.VBA.RubberduckParserState
editor IActiveCodePaneEditor
messageBox IMessageBox
리턴 System

Refactor() 공개 메소드

public Refactor ( ) : void
리턴 void

Refactor() 공개 메소드

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

Refactor() 공개 메소드

public Refactor ( QualifiedSelection selection ) : void
selection Rubberduck.VBEditor.QualifiedSelection
리턴 void