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

Test method generator for the 'get' part of property type members.
Наследование: MemberBuilder
Показать файл Открыть проект

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

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