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); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Id | Guid | |||
MetricDescription | string | |||
MetricName | string |
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 |