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

Test method generator for method type members.
Inheritance: MemberBuilder
Afficher le fichier Open project: Jedzia/NStub

Méthodes publiques

Méthode Description
MethodBuilder ( IMemberSetupContext context ) : NStub.CSharp.BuildContext

Initializes a new instance of the MethodBuilder class.

Méthodes protégées

Méthode 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 méthode

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

DetermineTestName() protected méthode

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

MethodBuilder() public méthode

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.
Résultat NStub.CSharp.BuildContext