C# Class Whee.WordBuilder.Model.ProjectSerializer

Show file Open project: alfar/WordBuilder

Private Properties

Property Type Description
ParseProject bool
ProjectSerializer System
ReadProject void
WriteProject void

Public Methods

Method Description
ExpandToken ( string input, int origin, int &start, List &expandedToken, bool &didExpand, bool &@remove ) : string
LoadProject ( string path ) : Project
LoadProjectString ( string code ) : Project
ParseCommands ( object context, TextReader reader, string line, int &lineNumber ) : bool
ParseWeightedCommands ( object context, TextReader reader, string line, int &lineNumber ) : bool
ReadLines ( object context, TextReader reader, LineParserDelegate parser, int &lineNumber ) : bool
ReadToken ( string input, int &start ) : string
ReadToken ( string input, int &start, List &expandedToken, bool &didExpand, bool &@remove ) : string
ReadTokens ( string input ) : List
SaveProject ( Project project, string path ) : void
SecureList ( IEnumerable list ) : string
SecureString ( string input ) : string

Private Methods

Method Description
ParseProject ( object context, TextReader reader, string line, int &lineNumber ) : bool
ProjectSerializer ( ) : System
ReadProject ( Project project, TextReader reader ) : void
WriteProject ( Project project, TextWriter writer ) : void

Method Details

ExpandToken() public static method

public static ExpandToken ( string input, int origin, int &start, List &expandedToken, bool &didExpand, bool &@remove ) : string
input string
origin int
start int
expandedToken List
didExpand bool
@remove bool
return string

LoadProject() public static method

public static LoadProject ( string path ) : Project
path string
return Project

LoadProjectString() public static method

public static LoadProjectString ( string code ) : Project
code string
return Project

ParseCommands() public static method

public static ParseCommands ( object context, TextReader reader, string line, int &lineNumber ) : bool
context object
reader System.IO.TextReader
line string
lineNumber int
return bool

ParseWeightedCommands() public static method

public static ParseWeightedCommands ( object context, TextReader reader, string line, int &lineNumber ) : bool
context object
reader System.IO.TextReader
line string
lineNumber int
return bool

ReadLines() public static method

public static ReadLines ( object context, TextReader reader, LineParserDelegate parser, int &lineNumber ) : bool
context object
reader System.IO.TextReader
parser LineParserDelegate
lineNumber int
return bool

ReadToken() public static method

public static ReadToken ( string input, int &start ) : string
input string
start int
return string

ReadToken() public static method

public static ReadToken ( string input, int &start, List &expandedToken, bool &didExpand, bool &@remove ) : string
input string
start int
expandedToken List
didExpand bool
@remove bool
return string

ReadTokens() public static method

public static ReadTokens ( string input ) : List
input string
return List

SaveProject() public static method

public static SaveProject ( Project project, string path ) : void
project Project
path string
return void

SecureList() public static method

public static SecureList ( IEnumerable list ) : string
list IEnumerable
return string

SecureString() public static method

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