| 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
Function Score(Of T As IdentifiedData) (
filter As Expression(Of Func(Of T, Boolean)),
results As IEnumerable(Of T)
) As IEnumerable(Of IQueryResultScore(Of T))
generic<typename T>
where T : IdentifiedData
IEnumerable<IQueryResultScore<T>^>^ Score(
Expression<Func<T, bool>^>^ filter,
IEnumerable<T>^ results
)
abstract Score :
filter : Expression<Func<'T, bool>> *
results : IEnumerable<'T> -> IEnumerable<IQueryResultScore<'T>> when '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:
IEnumerableIQueryResultScoreTThe equivalent record match with score
See Also