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

Test method generator for the 'get' part of property type members.
Inheritance: MemberBuilder
Afficher le fichier Open project: Jedzia/NStub

Méthodes publiques

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

Méthodes protégées

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

Method Details

BuildMember() protected méthode

Builds the specified context.
protected BuildMember ( IMemberBuildContext context ) : bool
context IMemberBuildContext The build context of the test method member.
Résultat bool

CanHandleContext() public static méthode

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

ComputeCodeMemberProperty() protected méthode

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

PropertyGetBuilder() public méthode

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