C# Class CommonMarkSharp.Subject

Show file Open project: MortenHoustonLudvigsen/CommonMarkSharp Class Usage Examples

Public Properties

Property Type Description
Char char
EndOfString bool
Index int
Text string

Public Methods

Method Description
Advance ( ) : bool
Advance ( int count ) : int
AdvanceToEnd ( int offset ) : void
AdvanceToFirstNonSpace ( int offset ) : void
Contains ( char c, int relativeIndex ) : bool
Contains ( string str, int relativeIndex ) : bool
Escape ( string input ) : string
IsWhiteSpace ( ) : bool
IsWhiteSpace ( char c ) : bool
IsWhiteSpace ( int relativeIndex ) : bool
PartOfSequence ( char c, int count ) : bool
Save ( ) : SavedSubject
SkipWhiteSpace ( ) : int
StartsWith ( string str, int relativeIndex ) : bool
Subject ( string text ) : System
ToString ( ) : string
this ( int relativeIndex ) : char

Private Methods

Method Description
GetChar ( int index ) : char
SetIndex ( int value ) : void
ValidIndex ( int index ) : bool

Method Details

Advance() public method

public Advance ( ) : bool
return bool

Advance() public method

public Advance ( int count ) : int
count int
return int

AdvanceToEnd() public method

public AdvanceToEnd ( int offset ) : void
offset int
return void

AdvanceToFirstNonSpace() public method

public AdvanceToFirstNonSpace ( int offset ) : void
offset int
return void

Contains() public method

public Contains ( char c, int relativeIndex ) : bool
c char
relativeIndex int
return bool

Contains() public method

public Contains ( string str, int relativeIndex ) : bool
str string
relativeIndex int
return bool

Escape() public static method

public static Escape ( string input ) : string
input string
return string

IsWhiteSpace() public method

public IsWhiteSpace ( ) : bool
return bool

IsWhiteSpace() public static method

public static IsWhiteSpace ( char c ) : bool
c char
return bool

IsWhiteSpace() public method

public IsWhiteSpace ( int relativeIndex ) : bool
relativeIndex int
return bool

PartOfSequence() public method

public PartOfSequence ( char c, int count ) : bool
c char
count int
return bool

Save() public method

public Save ( ) : SavedSubject
return SavedSubject

SkipWhiteSpace() public method

public SkipWhiteSpace ( ) : int
return int

StartsWith() public method

public StartsWith ( string str, int relativeIndex ) : bool
str string
relativeIndex int
return bool

Subject() public method

public Subject ( string text ) : System
text string
return System

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( int relativeIndex ) : char
relativeIndex int
return char

Property Details

Char public property

public char Char
return char

EndOfString public property

public bool EndOfString
return bool

Index public property

public int Index
return int

Text public property

public string Text
return string