Class AppointmentPreviewPlugin
Inherited Members
Namespace: SuperOffice.CRM.Previews
Assembly: SoDataBase.dll
Syntax
[PreviewPlugin("SuperOffice:AppointmentPreview", new string[] { "appointment_id" })]
public class AppointmentPreviewPlugin : PreviewPluginBase
Constructors
AppointmentPreviewPlugin()
Declaration
public AppointmentPreviewPlugin()
Fields
AppointmentHint
Declaration
public const string AppointmentHint = "appointment_id"
Field Value
Type | Description |
---|---|
string |
Methods
InnerGetPreview(PreviewData)
Subclass contract: derived class must implement their Preview logicin this method.
Declaration
protected override PreviewData InnerGetPreview(PreviewData previewData)
Parameters
Type | Name | Description |
---|---|---|
PreviewData | previewData |
Returns
Type | Description |
---|---|
PreviewData | Preview text, or an empty string |
Overrides
Remarks
The Preview 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.