C# Class NStub.CSharp.ObjectGeneration.Builders.PropertyBuilderData

Stores information about a test method for a property.
Inheritance: IBuilderData
Afficher le fichier Open project: Jedzia/NStub

Méthodes publiques

Méthode Description
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.

Method Details

GetData() public méthode

Gets the data of this instance.
public GetData ( ) : object
Résultat object

HasDataForType() public méthode

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

SetData() public méthode

Sets the data via the specified method info.
public SetData ( object data ) : void
data object The data to store.
Résultat void

SetViaAccessorName() public méthode

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.
Résultat void