IMetric
is defined in the Telligent.Evolution.Extensibility.Scoring.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IMetric : IPlugin { Guid Id { get; } string MetricDescription { get; } string MetricName { get; } double Calculate(Guid contentId, Guid contentTypeId); void SetController(IMetricController controller); }
Methods
double Calculate(Guid contentId, Guid contentTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
Return Type
double
void SetController(IMetricController controller);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
controller | IMetricController | Controller | Required |