C# 클래스 Thinktecture.Tools.Web.Services.CodeGeneration.CodeRefactoringAgent

파일 보기 프로젝트 열기: WSCF/WSCF 1 사용 예제들

공개 메소드들

메소드 설명
CodeRefactoringAgent ( ) : System
Refactor ( CodeTypeExtension typeExtension, string oldName, string newName ) : void

비공개 메소드들

메소드 설명
GetCodeTypeReferenceInCodeExpression ( System.CodeDom.CodeExpression expression ) : CodeTypeReference
GetCodeTypeReferenceInCodeStatement ( CodeStatement statement ) : CodeTypeReferenceCollection
RefactorCodeStatements ( CodeStatementCollection statements, string oldName, string newName ) : void

This method updates the references in code statements.

RefactorCodeTypeReference ( CodeTypeReference codeTypeReference, string oldName, string newName ) : void

This method contains the core logic for changing a type reference to use a new type.

RefactorCodeTypeReferenceCollection ( CodeTypeReferenceCollection codeTypeReferences, string oldName, string newName ) : void
RefactorCodeTypeReferencesInAttributeArguments ( CodeAttributeArgumentCollection arguments, string oldName, string newName ) : void
RefactorCodeTypeReferencesInAttributes ( CodeAttributeDeclarationCollection attribs, string oldName, string newName ) : void
RefactorFieldNamesInFieldReferences ( System.CodeDom.CodeExpression expression, string newName ) : void
RefactorFields ( FilteredTypeMembers fields, string oldName, string newName ) : void
RefactorMethodNamesInStatement ( CodeStatement statement, string newName ) : void
RefactorMethodParameterReferences ( CodeParameterDeclarationExpressionCollection parameters, string oldName, string newName ) : void
RefactorMethods ( FilteredTypeMembers methods, string oldName, string newName ) : void

This method updates the references in methods.

RefactorProperties ( FilteredTypeMembers properties, string oldName, string newName ) : void
RefactorType ( CodeTypeExtension typeExtension, string oldName, string newName ) : void

메소드 상세

CodeRefactoringAgent() 공개 메소드

public CodeRefactoringAgent ( ) : System
리턴 System

Refactor() 공개 메소드

public Refactor ( CodeTypeExtension typeExtension, string oldName, string newName ) : void
typeExtension CodeTypeExtension
oldName string
newName string
리턴 void