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

Stores information about a test method for a property.
상속: IBuilderData
파일 보기 프로젝트 열기: Jedzia/NStub

공개 메소드들

메소드 설명
GetData ( ) : object

Gets the data of this instance.

HasDataForType ( IMemberBuilder builder ) : bool

Determines whether this instance holds data for the specified builder type.

SetData ( object data ) : void

Sets the data via the specified method info.

SetViaAccessorName ( MethodInfo methodInfo ) : void

Sets the data of the GetAccessor and SetAccessor via the name of the specified methodInfo.

메소드 상세

GetData() 공개 메소드

Gets the data of this instance.
public GetData ( ) : object
리턴 object

HasDataForType() 공개 메소드

Determines whether this instance holds data for the specified builder type.
public HasDataForType ( IMemberBuilder builder ) : bool
builder IMemberBuilder The requesting builder.
리턴 bool

SetData() 공개 메소드

Sets the data via the specified method info.
public SetData ( object data ) : void
data object The data to store.
리턴 void

SetViaAccessorName() 공개 메소드

Sets the data of the GetAccessor and SetAccessor via the name of the specified methodInfo.
/// The specified is not from a property getter or setter.
public SetViaAccessorName ( MethodInfo methodInfo ) : void
methodInfo System.Reflection.MethodInfo The info about the property accessor.
리턴 void