C# Class PicklesDoc.Pickles.ObjectModel.Mapper

Show file Open project: picklesdoc/pickles Class Usage Examples

Public Methods

Method Description
MapToComment ( Gherkin.Ast comment ) : Comment
MapToExample ( Gherkin.Ast examples ) : PicklesDoc.Pickles.ObjectModel.Example
MapToFeature ( Gherkin.Ast gherkinDocument ) : Feature
MapToKeyword ( string keyword ) : Keyword
MapToLocation ( Gherkin.Ast location ) : Location
MapToScenario ( Gherkin.Ast scenario ) : Scenario
MapToScenarioOutline ( Gherkin.Ast scenarioOutline ) : ScenarioOutline
MapToStep ( Gherkin.Ast step ) : Step
MapToString ( Gherkin.Ast cell ) : string
MapToTable ( Gherkin.Ast dataTable ) : PicklesDoc.Pickles.ObjectModel.Table
MapToTable ( IEnumerable tableRows ) : PicklesDoc.Pickles.ObjectModel.Table
MapToTableRow ( Gherkin.Ast tableRow ) : TableRow
Mapper ( IConfiguration configuration, string featureLanguage = LanguageServices.DefaultLanguage ) : System
Mapper ( string featureLanguage = LanguageServices.DefaultLanguage ) : System

Private Methods

Method Description
MapToFeatureElement ( Gherkin.Ast sd ) : IFeatureElement

Method Details

MapToComment() public method

public MapToComment ( Gherkin.Ast comment ) : Comment
comment Gherkin.Ast
return Comment

MapToExample() public method

public MapToExample ( Gherkin.Ast examples ) : PicklesDoc.Pickles.ObjectModel.Example
examples Gherkin.Ast
return PicklesDoc.Pickles.ObjectModel.Example

MapToFeature() public method

public MapToFeature ( Gherkin.Ast gherkinDocument ) : Feature
gherkinDocument Gherkin.Ast
return Feature

MapToKeyword() public method

public MapToKeyword ( string keyword ) : Keyword
keyword string
return Keyword

MapToLocation() public method

public MapToLocation ( Gherkin.Ast location ) : Location
location Gherkin.Ast
return Location

MapToScenario() public method

public MapToScenario ( Gherkin.Ast scenario ) : Scenario
scenario Gherkin.Ast
return Scenario

MapToScenarioOutline() public method

public MapToScenarioOutline ( Gherkin.Ast scenarioOutline ) : ScenarioOutline
scenarioOutline Gherkin.Ast
return ScenarioOutline

MapToStep() public method

public MapToStep ( Gherkin.Ast step ) : Step
step Gherkin.Ast
return Step

MapToString() public method

public MapToString ( Gherkin.Ast cell ) : string
cell Gherkin.Ast
return string

MapToTable() public method

public MapToTable ( Gherkin.Ast dataTable ) : PicklesDoc.Pickles.ObjectModel.Table
dataTable Gherkin.Ast
return PicklesDoc.Pickles.ObjectModel.Table

MapToTable() public method

public MapToTable ( IEnumerable tableRows ) : PicklesDoc.Pickles.ObjectModel.Table
tableRows IEnumerable
return PicklesDoc.Pickles.ObjectModel.Table

MapToTableRow() public method

public MapToTableRow ( Gherkin.Ast tableRow ) : TableRow
tableRow Gherkin.Ast
return TableRow

Mapper() public method

public Mapper ( IConfiguration configuration, string featureLanguage = LanguageServices.DefaultLanguage ) : System
configuration IConfiguration
featureLanguage string
return System

Mapper() public method

public Mapper ( string featureLanguage = LanguageServices.DefaultLanguage ) : System
featureLanguage string
return System