Class NumberParser
NumberParser
Inherited Members
Namespace: System.Linq.Dynamic.Core.Parser
Assembly: System.Linq.Dynamic.Core.dll
Syntax
public class NumberParser
Constructors
| Improve this Doc View SourceNumberParser(ParsingConfig)
Initializes a new instance of the NumberParser class.
Declaration
public NumberParser(ParsingConfig config)
Parameters
| Type | Name | Description |
|---|---|---|
| ParsingConfig | config | The ParsingConfig. |
Methods
| Improve this Doc View SourceParseNumber(String, Type)
Parses the number (text) into the specified type.
Declaration
public object ParseNumber(string text, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| String | text | The text. |
| Type | type | The type. |
Returns
| Type | Description |
|---|---|
| Object |