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

Test method generator for method type members.
Inheritance: MemberBuilder
ファイルを表示 Open project: Jedzia/NStub

Public Methods

Method Description
MethodBuilder ( IMemberSetupContext context ) : NStub.CSharp.BuildContext

Initializes a new instance of the MethodBuilder class.

Protected Methods

Method Description
BuildMember ( IMemberBuildContext context ) : bool

Builds the specified context.

DetermineTestName ( IMemberSetupContext context, string originalName ) : string

Determines the name of the test method.

Method Details

BuildMember() protected method

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

DetermineTestName() protected method

Determines the name of the test method.
protected DetermineTestName ( IMemberSetupContext context, string originalName ) : string
context IMemberSetupContext The build context of the test method member.
originalName string The initial name of the test method member.
return string

MethodBuilder() public method

Initializes a new instance of the MethodBuilder class.
public MethodBuilder ( IMemberSetupContext context ) : NStub.CSharp.BuildContext
context IMemberSetupContext The build context of the test method member.
return NStub.CSharp.BuildContext