C# 클래스 ICSharpCode.NRefactory.CSharp.Refactoring.NamingHelper

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

공개 메소드들

메소드 설명
GenerateNameProposals ( AstType type ) : IEnumerable
GenerateVariableName ( AstType type, string baseName = null ) : string

Generates a variable name for a variable of the specified type.

GenerateVariableName ( IType type, string baseName = null ) : string

Generates a variable name for a variable of the specified type.

NamingHelper ( RefactoringContext context ) : System

비공개 메소드들

메소드 설명
LookupVariable ( string name ) : IVariable
NameIsUnused ( string name ) : bool
ToAstType ( IType type ) : AstType

메소드 상세

GenerateNameProposals() 공개 정적인 메소드

public static GenerateNameProposals ( AstType type ) : IEnumerable
type AstType
리턴 IEnumerable

GenerateVariableName() 공개 메소드

Generates a variable name for a variable of the specified type.
public GenerateVariableName ( AstType type, string baseName = null ) : string
type AstType /// The type of the variable. ///
baseName string /// Suggested base name. ///
리턴 string

GenerateVariableName() 공개 메소드

Generates a variable name for a variable of the specified type.
public GenerateVariableName ( IType type, string baseName = null ) : string
type IType /// The type of the variable. ///
baseName string /// Suggested base name. ///
리턴 string

NamingHelper() 공개 메소드

public NamingHelper ( RefactoringContext context ) : System
context RefactoringContext
리턴 System