Query Result Scoring Provider
IQueryScoringService
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a service that can score queries
Operations
Operation
Response/Return
Input/Parameter
Description
Score
IEnumerable<IQueryResultScore<T>>
Expression<Func<T,Boolean>> filter IEnumerable<T> results
Requests that the matching operation score the specified series of results
Implementations
None
Example Implementation
/// Example Implementation
using SanteDB.Core.Services;
/// Other usings here
public class MyQueryScoringService : SanteDB.Core.Services.IQueryScoringService {
public String ServiceName => "My own IQueryScoringService service";
/// <summary>
/// Requests that the matching operation score the specified series of results
/// </summary>
public IEnumerable<IQueryResultScore<T>> Score<T>(Expression<Func<T,Boolean>> filter,IEnumerable<T> results){
throw new System.NotImplementedException();
}
}
References
Last updated
Was this helpful?