C# Class StoryTeller.Domain.Step

Inheritance: IStep
显示文件 Open project: adymitruk/storyteller Class Usage Examples

Public Properties

Property Type Description
BLANK string
NULL string

Public Methods

Method Description
AcceptVisitor ( ITestVisitor visitor ) : void
EachLeaf ( StepLeaf>.Action action ) : void
Get ( string key ) : string
GetHashCode ( ) : int
Has ( string key ) : bool
HasLeaf ( string name ) : bool
LeafFor ( string name ) : StepLeaf
ParseValues ( string text ) : string>.IDictionary
Remove ( string key ) : void
Set ( string key, object value ) : void
ShallowClone ( ) : IStep
Step ( ) : System
Step ( string grammarKey ) : System
Step ( string grammarKey, Action action ) : System
StepCount ( ) : int
ToString ( ) : string
Validate ( IEnumerable cells ) : IList
With ( string text ) : Step

Only useful for testing: "key1:value1, key2:value2, key3:value3"

With ( string key, object value ) : Step
WithChildren ( string childKey ) : Step

Method Details

AcceptVisitor() public method

public AcceptVisitor ( ITestVisitor visitor ) : void
visitor ITestVisitor
return void

EachLeaf() public method

public EachLeaf ( StepLeaf>.Action action ) : void
action StepLeaf>.Action
return void

Get() public method

public Get ( string key ) : string
key string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

Has() public method

public Has ( string key ) : bool
key string
return bool

HasLeaf() public method

public HasLeaf ( string name ) : bool
name string
return bool

LeafFor() public method

public LeafFor ( string name ) : StepLeaf
name string
return StepLeaf

ParseValues() public static method

public static ParseValues ( string text ) : string>.IDictionary
text string
return string>.IDictionary

Remove() public method

public Remove ( string key ) : void
key string
return void

Set() public method

public Set ( string key, object value ) : void
key string
value object
return void

ShallowClone() public method

public ShallowClone ( ) : IStep
return IStep

Step() public method

public Step ( ) : System
return System

Step() public method

public Step ( string grammarKey ) : System
grammarKey string
return System

Step() public method

public Step ( string grammarKey, Action action ) : System
grammarKey string
action Action
return System

StepCount() public method

public StepCount ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

Validate() public method

public Validate ( IEnumerable cells ) : IList
cells IEnumerable
return IList

With() public method

Only useful for testing: "key1:value1, key2:value2, key3:value3"
public With ( string text ) : Step
text string
return Step

With() public method

public With ( string key, object value ) : Step
key string
value object
return Step

WithChildren() public method

public WithChildren ( string childKey ) : Step
childKey string
return Step

Property Details

BLANK public_oe static_oe property

public static string BLANK
return string

NULL public_oe static_oe property

public static string NULL
return string