C# 클래스 NStub.CSharp.BuildContext.KeynameFixer

Fix the Test-Key of a MemberBuildContext.
파일 보기 프로젝트 열기: Jedzia/NStub 1 사용 예제들

공개 메소드들

메소드 설명
Fix ( string initial ) : string

Fixes the specified key.

At this time, simply "get_", "set_", "add_" and "remove_" is removed from the key, to allow build properties for both sides of CLR-Properties and CLR-Events.

KeynameFixer ( CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeTypeMember typeMember ) : System

Initializes a new instance of the KeynameFixer class.

메소드 상세

Fix() 공개 메소드

Fixes the specified key.
At this time, simply "get_", "set_", "add_" and "remove_" is removed from the key, to allow build properties for both sides of CLR-Properties and CLR-Events.
public Fix ( string initial ) : string
initial string The initial key value.
리턴 string

KeynameFixer() 공개 메소드

Initializes a new instance of the KeynameFixer class.
public KeynameFixer ( CodeNamespace codeNamespace, CodeTypeDeclaration testClassDeclaration, CodeTypeMember typeMember ) : System
codeNamespace System.CodeDom.CodeNamespace The code namespace.
testClassDeclaration System.CodeDom.CodeTypeDeclaration The test class declaration.
typeMember System.CodeDom.CodeTypeMember The type member.
리턴 System