C# Class StoryTeller.Model.Persistence.Markdown.LineExtensions

Mostrar archivo Open project: storyteller/Storyteller

Public Methods

Method Description
IsHeaderOne ( this line ) : bool
IsHeaderThree ( this line ) : bool
IsHeaderTwo ( this line ) : bool
IsMetadata ( this line ) : bool
IsSectionHeader ( this line ) : bool
IsTableLine ( this line ) : bool
ParseMetadata ( this line, string &key, string &value ) : void
StartsSectionOrStep ( this line ) : bool
StartsStep ( this line ) : bool
ToSection ( this line ) : Section
ToTableValues ( this line ) : string[]
Tokenize ( this content ) : IEnumerable

Method Details

IsHeaderOne() public static method

public static IsHeaderOne ( this line ) : bool
line this
return bool

IsHeaderThree() public static method

public static IsHeaderThree ( this line ) : bool
line this
return bool

IsHeaderTwo() public static method

public static IsHeaderTwo ( this line ) : bool
line this
return bool

IsMetadata() public static method

public static IsMetadata ( this line ) : bool
line this
return bool

IsSectionHeader() public static method

public static IsSectionHeader ( this line ) : bool
line this
return bool

IsTableLine() public static method

public static IsTableLine ( this line ) : bool
line this
return bool

ParseMetadata() public static method

public static ParseMetadata ( this line, string &key, string &value ) : void
line this
key string
value string
return void

StartsSectionOrStep() public static method

public static StartsSectionOrStep ( this line ) : bool
line this
return bool

StartsStep() public static method

public static StartsStep ( this line ) : bool
line this
return bool

ToSection() public static method

public static ToSection ( this line ) : Section
line this
return Section

ToTableValues() public static method

public static ToTableValues ( this line ) : string[]
line this
return string[]

Tokenize() public static method

public static Tokenize ( this content ) : IEnumerable
content this
return IEnumerable