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.481-alpha
Syntax
IEnumerable<IQueryResultScore<T>> Score<T>(
	Expression<Func<T, bool>> filter,
	IEnumerable<T> results
)
where T : IdentifiedData

Parameters

filter
Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The initial filter that the caller has placed on the result set
results
Type: System.Collections.GenericIEnumerableT
The results which are to be returned to the caller

Type Parameters

T
The type of record being scored

Return Value

Type: IEnumerableIQueryResultScoreT
The equivalent record match with score
See Also