Class InterestTooltipPlugin
Tooltip provider for Interest links on Contact and Person. Triggers on 'contactInterest' and 'personInterest', and expects the accompanying id to be a contact or person id.
Inherited Members
Namespace: SuperOffice.CRM.Tooltips
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[TooltipPlugin("SuperOffice:interest", new string[] { "contactInterest", "personInterest" })]
public class InterestTooltipPlugin : TooltipPluginBase
Constructors
InterestTooltipPlugin()
Tooltip provider for Interest links on Contact and Person. Triggers on 'contactInterest' and 'personInterest', and expects the accompanying id to be a contact or person id.
Declaration
public InterestTooltipPlugin()
Methods
InnerGetTooltipAsync(CancellationToken)
Fetch the ContactInterestRows or PersonInterestRows collection as appropriate, looks up the list values in the MDOListTableCache, and return the select interests, one on each line.
Declaration
protected override Task<string> InnerGetTooltipAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<string> | Multi-line tooltip, all chosen interests |