C# Класс NStub.CSharp.ObjectGeneration.Builders.PropertyBuilderData

Stores information about a test method for a property.
Наследование: IBuilderData
Показать файл Открыть проект

Открытые методы

Метод Описание
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