Show / Hide Table of Contents

Class TooltipPluginAttribute

Attribute used to mark a class as a Tooltip provider Plugin. Such classes need to implement the ITooltipProviderPlugin interface. The priority of the standard providers is set at int.MaxValue/2 to provide room both above and below. The name has no impact on functionality, but should be hept unique and traceable (such as partnerName:pluginName or some such syntax). The provider can optionally register for one or more tooltip hints it wishes to handle.

Inheritance
object
Attribute
PluginAttribute
PrioritizedPluginAttribute
TooltipPluginAttribute
Inherited Members
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.Equals(object)
Attribute.GetHashCode()
Attribute.Match(object)
Attribute.IsDefaultAttribute()
Attribute.TypeId
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Tooltips
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class TooltipPluginAttribute : PrioritizedPluginAttribute

Constructors

TooltipPluginAttribute(string, int, params string[])

Mark a class as a Tooltip provider Plugin with the given name and priority. Standard providers have priority int.MaxValue/2.

Declaration
public TooltipPluginAttribute(string name, int priority, params string[] registerHints)
Parameters
Type Name Description
string name

Provider name

int priority

Priority, lower values come before higher values

string[] registerHints

Set of hints to register for. If this is empty, the provider will be called for ALL tooltip requests and must filter by itself. If nonempty, the provider will be called only for requests that contain at least one of its registered hints.

TooltipPluginAttribute(string, params string[])

Mark a class as a Tooltip provider Plugin with the given name and the standard priority of int.MaxValue/2.

Declaration
public TooltipPluginAttribute(string name, params string[] registerHints)
Parameters
Type Name Description
string name

Provider name

string[] registerHints

Set of hints to register for. If this is empty, the provider will be called for ALL tooltip requests and must filter by itself. If nonempty, the provider will be called only for requests that contain at least one of its registered hints.

Properties

RegisteredHints

Attribute used to mark a class as a Tooltip provider Plugin. Such classes need to implement the ITooltipProviderPlugin interface. The priority of the standard providers is set at int.MaxValue/2 to provide room both above and below. The name has no impact on functionality, but should be hept unique and traceable (such as partnerName:pluginName or some such syntax). The provider can optionally register for one or more tooltip hints it wishes to handle.

Declaration
public string[] RegisteredHints { get; }
Property Value
Type Description
string[]

Extension Methods

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