IScoreController
is defined in the Telligent.Evolution.Extensibility.Scoring.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IScoreController { double CalculateValue(Guid contentId, Guid contentTypeId, IEnumerable<IWeightedMetric> weightedMetrics); void FlagCalculatedScoresForRecalculation(); void QueueForCalculation(Guid contentId, Guid contentTypeId); bool UsesMetric(Guid metricId); }
Methods
double CalculateValue(Guid contentId, Guid contentTypeId, IEnumerable<IWeightedMetric> weightedMetrics);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
weightedMetrics | IEnumerable<IWeightedMetric> | Weighted Metrics | Required |
Return Type
double
void FlagCalculatedScoresForRecalculation();
void QueueForCalculation(Guid contentId, Guid contentTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
bool UsesMetric(Guid metricId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
metricId | Guid | Metric Id | Required |
Return Type
bool