Table of Contents

Class QueryRunner

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class QueryRunner : IQueryRunner
Inheritance
QueryRunner
Implements
Inherited Members
Extension Methods

Constructors

QueryRunner()

public QueryRunner()

Methods

CanRun(Type)

public bool CanRun(Type queryType)

Parameters

queryType Type

Returns

bool

RegisterQuery<T>(Func<object, object>)

protected void RegisterQuery<T>(Func<object, object> queryMethod)

Parameters

queryMethod Func<object, object>

Type Parameters

T

Run<TResult>(IQuery<TResult>)

public TResult Run<TResult>(IQuery<TResult> query)

Parameters

query IQuery<TResult>

Returns

TResult

Type Parameters

TResult