Show / Hide Table of Contents

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.

Inheritance
object
TooltipPluginBase
InterestTooltipPlugin
Inherited Members
TooltipPluginBase.ImageHint
TooltipPluginBase.SimpleHint
TooltipPluginBase.UpdatedHint
TooltipPluginBase.GetTooltipAsync(Dictionary<string, List<string>>, CancellationToken)
TooltipPluginBase.TryGetIntHint(string, out int)
TooltipPluginBase.TryGetStringHint(string, out string)
TooltipPluginBase.TryGetBoolHint(string, out bool)
TooltipPluginBase.TryGetDateHint(string, out DateTime)
TooltipPluginBase.GetRawValues(string)
TooltipPluginBase.MakeImageHint(string, int)
TooltipPluginBase.RemoveBlankLines(string)
TooltipPluginBase.FormatDescriptionText(string)
TooltipPluginBase.Hints
TooltipPluginBase.WantImages
TooltipPluginBase.WantSimple
TooltipPluginBase.WantUpdated
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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

Overrides
TooltipPluginBase.InnerGetTooltipAsync(CancellationToken)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top