Class QueryResult<TResult>
Request result.
public class QueryResult<TResult>
Type Parameters
TResultType of result.
- Inheritance
-
QueryResult<TResult>
- Inherited Members
Constructors
QueryResult(TResult)
Initializes a new instance of the QueryResult<TResult> class.
public QueryResult(TResult result)
Parameters
resultTResultThe result.
Properties
HasResult
Gets a value indicating whether there is a result.
public bool HasResult { get; }
Property Value
Result
Gets the result if it is set.
public TResult Result { get; }
Property Value
- TResult
Operators
implicit operator QueryResult<TResult>(TResult)
Implicit conversion.
public static implicit operator QueryResult<TResult>(TResult result)
Parameters
resultTResultResult.
Returns
- QueryResult<TResult>