Class NoteTooltipBase
Base class for tooltip providers for notes - i.e., the paperclips in various cards as well as day notes in the diary
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Tooltips
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class NoteTooltipBase : TooltipPluginBase
Constructors
NoteTooltipBase(string)
Base class for tooltip providers for notes - i.e., the paperclips in various cards as well as day notes in the diary
Declaration
protected NoteTooltipBase(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key |
Fields
TextTable
Base class for tooltip providers for notes - i.e., the paperclips in various cards as well as day notes in the diary
Declaration
protected TextTableInfo TextTable
Field Value
Type | Description |
---|---|
TextTableInfo |
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
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.
SetupQuery(Select, int)
Base class for tooltip providers for notes - i.e., the paperclips in various cards as well as day notes in the diary
Declaration
protected abstract void SetupQuery(Select query, int id)
Parameters
Type | Name | Description |
---|---|---|
Select | query | |
int | id |