C# Class SobekCM_Resource_Database.Builder.Builder_General_Convert_Mill

Mostrar archivo Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
Convert_FileString_To_Type ( string FileName, bool CheckRoman ) : File_String_Type

Checks the new page name to determine if it is roman numerals, or something special

Convert_Roman_To_Numbers ( char ThisChar ) : int

Convert the roman numeral character to decimal

Convert_Roman_To_Numbers ( string RomanNum ) : int

Converts a roman numeral string to the equivalent decimal value

Private Methods

Method Description
Builder_General_Convert_Mill ( ) : System
IsNumeric ( string StrToTest ) : bool
IsRomanNumerals ( string StrToTest ) : bool

Method Details

Convert_FileString_To_Type() public static method

Checks the new page name to determine if it is roman numerals, or something special
public static Convert_FileString_To_Type ( string FileName, bool CheckRoman ) : File_String_Type
FileName string Name of the page
CheckRoman bool Flag on whether to check for roman numerals or not
return File_String_Type

Convert_Roman_To_Numbers() public static method

Convert the roman numeral character to decimal
public static Convert_Roman_To_Numbers ( char ThisChar ) : int
ThisChar char Roman numeral character
return int

Convert_Roman_To_Numbers() public static method

Converts a roman numeral string to the equivalent decimal value
public static Convert_Roman_To_Numbers ( string RomanNum ) : int
RomanNum string Roman number
return int