C# 클래스 NStub.CSharp.ObjectGeneration.Builders.PropertyBuilder

상속: MemberBuilder
파일 보기 프로젝트 열기: Jedzia/NStub 1 사용 예제들

공개 메소드들

메소드 설명
CanHandleContext ( IMemberBuildContext context ) : bool

Determines whether this instance can handle a specified build context.

PropertyBuilder ( IMemberSetupContext context ) : System

Initializes a new instance of the PropertyBuilder class.

보호된 메소드들

메소드 설명
BuildMember ( IMemberBuildContext context ) : bool

Builds the specified context.

ComputeCodeMemberProperty ( CodeMemberMethod typeMember, IBuilderData builderData, string propertyName ) : void

Handle property related stuff before type generation.

DetermineTestName ( IMemberSetupContext context, string originalName ) : string

Determines the name of the test method.

메소드 상세

BuildMember() 보호된 메소드

Builds the specified context.
context is out of range.
protected BuildMember ( IMemberBuildContext context ) : bool
context IMemberBuildContext The build context of the test method member.
리턴 bool

CanHandleContext() 공개 정적인 메소드

Determines whether this instance can handle a specified build context.
public static CanHandleContext ( IMemberBuildContext context ) : bool
context IMemberBuildContext The build context of the test method member.
리턴 bool

ComputeCodeMemberProperty() 보호된 메소드

Handle property related stuff before type generation.
protected ComputeCodeMemberProperty ( CodeMemberMethod typeMember, IBuilderData builderData, string propertyName ) : void
typeMember System.CodeDom.CodeMemberMethod The type member.
builderData IBuilderData The builder data.
propertyName string Name of the property.
리턴 void

DetermineTestName() 보호된 메소드

Determines the name of the test method.
protected DetermineTestName ( IMemberSetupContext context, string originalName ) : string
context IMemberSetupContext The build context of the test method member.
originalName string The initial name of the test method member.
리턴 string

PropertyBuilder() 공개 메소드

Initializes a new instance of the PropertyBuilder class.
public PropertyBuilder ( IMemberSetupContext context ) : System
context IMemberSetupContext The build context of the test method member.
리턴 System