Click or drag to resize

IQueryScoringServiceScoreT Method

Requests that the matching operation score the specified series of results

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
IEnumerable<IQueryResultScore<T>> Score<T>(
	Expression<Func<T, bool>> filter,
	IEnumerable<T> results
)
where T : IdentifiedData

Parameters

filter  ExpressionFuncT, Boolean
The initial filter that the caller has placed on the result set
results  IEnumerableT
The results which are to be returned to the caller

Type Parameters

T
The type of record being scored

Return Value

IEnumerableIQueryResultScoreT
The equivalent record match with score
See Also