C# Class StoryTeller.Model.FixtureGraph

Inheritance: IFixtureNode, IFixtureGraph
Exibir arquivo Open project: MotherGoose/storyteller Class Usage Examples

Public Methods

Method Description
AddStructure ( string grammarKey, GrammarStructure structure ) : void
CanChoose ( System.Test test ) : bool
CreateExample ( ) : Section
Equals ( FixtureGraph obj ) : bool
Equals ( object obj ) : bool
FindUsages ( UsageGraph graph ) : IEnumerable
FixtureGraph ( string name ) : System
GetHashCode ( ) : int
GetPath ( ) : TPath
GrammarFor ( string grammarKey ) : GrammarStructure
HasGrammar ( string key ) : bool
HasGrammarErrors ( ) : bool
IsAFixture ( ) : bool
IsMandatoryAutoSelectGrammar ( GrammarStructure structure ) : bool
IsSingleSelection ( ) : bool
LogError ( Exception exception ) : void
LogError ( GrammarError error ) : void
ModifyExampleTest ( System.Test example ) : void
PossibleGrammarsFor ( IPartHolder holder ) : IEnumerable
TopLevelGrammars ( ) : IEnumerable

Private Methods

Method Description
AllErrors ( ) : IEnumerable
FixtureGraph ( ) : System

Method Details

AddStructure() public method

public AddStructure ( string grammarKey, GrammarStructure structure ) : void
grammarKey string
structure GrammarStructure
return void

CanChoose() public method

public CanChoose ( System.Test test ) : bool
test System.Test
return bool

CreateExample() public method

public CreateExample ( ) : Section
return Section

Equals() public method

public Equals ( FixtureGraph obj ) : bool
obj FixtureGraph
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FindUsages() public method

public FindUsages ( UsageGraph graph ) : IEnumerable
graph StoryTeller.Usages.UsageGraph
return IEnumerable

FixtureGraph() public method

public FixtureGraph ( string name ) : System
name string
return System

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetPath() public method

public GetPath ( ) : TPath
return StoryTeller.Domain.TPath

GrammarFor() public method

public GrammarFor ( string grammarKey ) : GrammarStructure
grammarKey string
return GrammarStructure

HasGrammar() public method

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

HasGrammarErrors() public method

public HasGrammarErrors ( ) : bool
return bool

IsAFixture() public method

public IsAFixture ( ) : bool
return bool

IsMandatoryAutoSelectGrammar() public method

public IsMandatoryAutoSelectGrammar ( GrammarStructure structure ) : bool
structure GrammarStructure
return bool

IsSingleSelection() public method

public IsSingleSelection ( ) : bool
return bool

LogError() public method

public LogError ( Exception exception ) : void
exception System.Exception
return void

LogError() public method

public LogError ( GrammarError error ) : void
error GrammarError
return void

ModifyExampleTest() public method

public ModifyExampleTest ( System.Test example ) : void
example System.Test
return void

PossibleGrammarsFor() public method

public PossibleGrammarsFor ( IPartHolder holder ) : IEnumerable
holder IPartHolder
return IEnumerable

TopLevelGrammars() public method

public TopLevelGrammars ( ) : IEnumerable
return IEnumerable