Show / Hide Table of Contents

Class CalendarDayTooltipPlugin

Tooltip provider for the days of a monthly mini calendar. Triggers on 'calendarday', with a parseable date as the value, and 'associate_id'. The day defaults to today, while the associate defaults to self. Note that attempts to read other associates' data will pass through the ordinary Sentry filtering, so other people's private appointments will not show the text or any other restricted fields.

Inheritance
object
TooltipPluginBase
CalendarDayTooltipPlugin
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:Day", new string[] { "calendarday" })]
public class CalendarDayTooltipPlugin : TooltipPluginBase

Constructors

CalendarDayTooltipPlugin()

Tooltip provider for the days of a monthly mini calendar. Triggers on 'calendarday', with a parseable date as the value, and 'associate_id'. The day defaults to today, while the associate defaults to self. Note that attempts to read other associates' data will pass through the ordinary Sentry filtering, so other people's private appointments will not show the text or any other restricted fields.

Declaration
public CalendarDayTooltipPlugin()

Fields

DayHint

Tooltip provider for the days of a monthly mini calendar. Triggers on 'calendarday', with a parseable date as the value, and 'associate_id'. The day defaults to today, while the associate defaults to self. Note that attempts to read other associates' data will pass through the ordinary Sentry filtering, so other people's private appointments will not show the text or any other restricted fields.

Declaration
public const string DayHint = "calendarday"
Field Value
Type Description
string

Methods

InnerGetTooltipAsync(CancellationToken)

Subclass contract: derived class must implement their tooltip logicin this method.

Declaration
protected override Task<string> InnerGetTooltipAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>

Tooltip text, or an empty string

Overrides
TooltipPluginBase.InnerGetTooltipAsync(CancellationToken)
Remarks

The tooltip hints are accessible through the Hints property, but clients should usually find the provided access methods sufficient. TryGetIntHint(string, out int), TryGetStringHint(string, out string) and TryGetBoolHint(string, out bool) look for and parse the given type of key, and return a bool value that specifies whether the given key was found.

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