C# Class Rubberduck.Refactorings.IntroduceField.IntroduceFieldRefactoring

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

Public Methods

Method Description
IntroduceFieldRefactoring ( RubberduckParserState parserState, IActiveCodePaneEditor editor, IMessageBox messageBox ) : System
Refactor ( ) : void
Refactor ( Rubberduck.Parsing.Symbols.Declaration target ) : void
Refactor ( QualifiedSelection selection ) : void

Private Methods

Method Description
AddField ( Rubberduck.Parsing.Symbols.Declaration target ) : void
GetFieldDefinition ( Rubberduck.Parsing.Symbols.Declaration target ) : string
PromoteVariable ( Rubberduck.Parsing.Symbols.Declaration target ) : void
RemoveExtraComma ( string str, int numParams, int indexRemoved ) : string
RemoveVariable ( Rubberduck.Parsing.Symbols.Declaration target ) : void

Method Details

IntroduceFieldRefactoring() public method

public IntroduceFieldRefactoring ( RubberduckParserState parserState, IActiveCodePaneEditor editor, IMessageBox messageBox ) : System
parserState Rubberduck.Parsing.VBA.RubberduckParserState
editor IActiveCodePaneEditor
messageBox IMessageBox
return System

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