Class TryParser<T>
This class is used to check whether the input value is parsed to output type.
Inheritance
System.Object
TryParser<T>
Implements
Namespace: Syncfusion.PivotAnalysis.UWP.Engine
Assembly: Syncfusion.PivotAnalysis.UWP.dll
Syntax
public class TryParser<T> : Object, ITryParser
Type Parameters
| Name | Description |
|---|---|
| T | The target type |
Constructors
TryParser(TryParseMethod<T>)
This method returns the parsing method for target type.
Declaration
public TryParser(TryParseMethod<T> parsingMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| TryParseMethod<T> | parsingMethod | The method to parse the values. |
Methods
TryParse(String, out Object)
This method is used to check whether the input value is parsed to the output data type.
Declaration
public bool TryParse(string input, out object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | input | The input value. |
| System.Object | value | The output value that ensures the parsing. |
Returns
| Type |
|---|
| System.Boolean |