C# Class SpecEasy.Internal.Context

Inheritance: IContext
显示文件 Open project: speceasy/speceasy

Private Properties

Property Type Description
Conjunction string
CreateUnnamedContextName string
EnterContext void
SetupContext System.Threading.Tasks.Task

Public Methods

Method Description
Context ( Func setup, System.Action addSpecs, string description = null, string conjunction = null ) : System
Context ( Func setup, string description = null, string conjunction = null ) : System
Verify ( System.Action addSpecs ) : void

Private Methods

Method Description
Conjunction ( bool first ) : string
CreateUnnamedContextName ( ) : string
EnterContext ( ) : void
SetupContext ( ) : System.Threading.Tasks.Task

Method Details

Context() public method

public Context ( Func setup, System.Action addSpecs, string description = null, string conjunction = null ) : System
setup Func
addSpecs System.Action
description string
conjunction string
return System

Context() public method

public Context ( Func setup, string description = null, string conjunction = null ) : System
setup Func
description string
conjunction string
return System

Verify() public method

public Verify ( System.Action addSpecs ) : void
addSpecs System.Action
return void