C# Класс IntXLib.ParserBase

Base class for parsers. Contains default implementations of parse operation over IntX instances.
Наследование: IParser
Показать файл Открыть проект

Открытые методы

Метод Описание
Parse ( string value, uint numberBase, uint>.IDictionary charToDigits, bool checkFormat ) : IntX

Parses provided string representation of IntX object.

Parse ( string value, int startIndex, int endIndex, uint numberBase, uint>.IDictionary charToDigits, uint digitsRes ) : uint

Parses provided string representation of IntX object.

ParserBase ( IParser pow2Parser ) : System

Creates new ParserBase instance.

Описание методов

Parse() публичный Метод

Parses provided string representation of IntX object.
is a null reference. is less then 2 or more then 16. is not in valid format.
public Parse ( string value, uint numberBase, uint>.IDictionary charToDigits, bool checkFormat ) : IntX
value string Number as string.
numberBase uint Number base.
charToDigits uint>.IDictionary Char->digit dictionary.
checkFormat bool Check actual format of number (0 or 0x at start).
Результат IntX

Parse() публичный Метод

Parses provided string representation of IntX object.
public Parse ( string value, int startIndex, int endIndex, uint numberBase, uint>.IDictionary charToDigits, uint digitsRes ) : uint
value string Number as string.
startIndex int Index inside string from which to start.
endIndex int Index inside string on which to end.
numberBase uint Number base.
charToDigits uint>.IDictionary Char->digit dictionary.
digitsRes uint Resulting digits.
Результат uint

ParserBase() публичный Метод

Creates new ParserBase instance.
public ParserBase ( IParser pow2Parser ) : System
pow2Parser IParser Parser for pow2 case.
Результат System