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

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

Public Methods

Method Description
CanHandleContext ( IMemberBuildContext context ) : bool

Determines whether this instance can handle a specified build context.

DefaultMethodEraser ( IMemberSetupContext context ) : System.Linq

Initializes a new instance of the DefaultMethodEraser class.

Protected Methods

Method Description
BuildMember ( IMemberBuildContext context ) : bool

Builds the specified context.

PreBuild ( IMemberPreBuildContext context ) : void

Runs before anything else on 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

CanHandleContext() public static method

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.
return bool

DefaultMethodEraser() public method

Initializes a new instance of the DefaultMethodEraser class.
public DefaultMethodEraser ( IMemberSetupContext context ) : System.Linq
context IMemberSetupContext The build context of the test method member.
return System.Linq

PreBuild() protected method

Runs before anything else on the test method.
protected PreBuild ( IMemberPreBuildContext context ) : void
context IMemberPreBuildContext The build context of the test method member.
return void