C# Class PoorMansTSqlFormatterLib.Formatters.TSqlObfuscatingFormatter

Inheritance: Interfaces.ISqlTreeFormatter
Mostra file Open project: rudi-bruchez/SQLTrismegiste Class Usage Examples

Public Properties

Property Type Description
KeywordMapping string>.IDictionary

Public Methods

Method Description
FormatSQLTree ( XmlDocument sqlTreeDoc ) : string
FormatSQLTree ( XmlNode fragmentNode ) : string
TSqlObfuscatingFormatter ( ) : System
TSqlObfuscatingFormatter ( bool randomizeCase, bool randomizeColor, bool randomizeLineLength, bool preserveComments, bool subtituteKeywords ) : System

Private Methods

Method Description
FormatKeyword ( string keyword ) : string
FormatSQLNodes ( XmlNodeList nodes, TSqlObfuscatingFormattingState state ) : string
GetCaseRandomized ( string outputKeyword ) : string
ProcessSqlNode ( XmlElement contentElement, TSqlObfuscatingFormattingState state ) : void
ProcessSqlNodeList ( XmlNodeList rootList, TSqlObfuscatingFormattingState state ) : void

Method Details

FormatSQLTree() public method

public FormatSQLTree ( XmlDocument sqlTreeDoc ) : string
sqlTreeDoc System.Xml.XmlDocument
return string

FormatSQLTree() public method

public FormatSQLTree ( XmlNode fragmentNode ) : string
fragmentNode System.Xml.XmlNode
return string

TSqlObfuscatingFormatter() public method

public TSqlObfuscatingFormatter ( ) : System
return System

TSqlObfuscatingFormatter() public method

public TSqlObfuscatingFormatter ( bool randomizeCase, bool randomizeColor, bool randomizeLineLength, bool preserveComments, bool subtituteKeywords ) : System
randomizeCase bool
randomizeColor bool
randomizeLineLength bool
preserveComments bool
subtituteKeywords bool
return System

Property Details

KeywordMapping public_oe property

public IDictionary KeywordMapping
return string>.IDictionary