Table of Contents

Class QueryResult<TResult>

Namespace
GroupeIsa.Neos.Shared.Linq
Assembly
GroupeIsa.Neos.Shared.dll

Request result.

public class QueryResult<TResult>

Type Parameters

TResult

Type of result.

Inheritance
QueryResult<TResult>
Inherited Members

Constructors

QueryResult(TResult)

Initializes a new instance of the QueryResult<TResult> class.

public QueryResult(TResult result)

Parameters

result TResult

The result.

Properties

HasResult

Gets a value indicating whether there is a result.

public bool HasResult { get; }

Property Value

bool

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

result TResult

Result.

Returns

QueryResult<TResult>