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

Test method generator for the 'get' part of property type members.
상속: MemberBuilder
파일 보기 프로젝트 열기: Jedzia/NStub

공개 메소드들

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

Determines whether this instance can handle a specified build context.

PropertyGetBuilder ( IMemberSetupContext context ) : System

Initializes a new instance of the PropertyGetBuilder class.

보호된 메소드들

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

Builds the specified context.

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

Handle property related stuff before type generation.

메소드 상세

BuildMember() 보호된 메소드

Builds the specified context.
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.
The context of the builder does not supply a valid /// . The context of the builder does not supply a valid /// .
protected ComputeCodeMemberProperty ( IMemberBuildContext context, CodeMemberMethod typeMember, IBuilderData builderData, string testObjectName, string propertyName ) : void
context IMemberBuildContext The context. Todo: remove it with specialized parameters after development.
typeMember System.CodeDom.CodeMemberMethod The type member.
builderData IBuilderData The builder data.
testObjectName string Name of the test object member field.
propertyName string Name of the property.
리턴 void

PropertyGetBuilder() 공개 메소드

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