Class TooltipAffectedByAttribute
Put on an extension method with NewTooltipAttribute to mark that tooltip part as dirty when CallWhenChangedAttribute.Property
changes in any instance of the extension method's type.
Inheritance
System.Object
TooltipAffectedByAttribute
Assembly: Eco.Core.dll
public class TooltipAffectedByAttribute : WatchBaseAttribute
Constructors
Declaration
public TooltipAffectedByAttribute(bool watchAllMembers)
Parameters
| Type |
Name |
Description |
| System.Boolean |
watchAllMembers |
|
Declaration
public TooltipAffectedByAttribute(string memberName, bool watchAllSubMembers)
Parameters
| Type |
Name |
Description |
| System.String |
memberName |
|
| System.Boolean |
watchAllSubMembers |
|
Declaration
public TooltipAffectedByAttribute(string memberName, string subMemberName = null, Type memberTypeMustDerive = null)
Parameters
| Type |
Name |
Description |
| System.String |
memberName |
|
| System.String |
subMemberName |
|
| System.Type |
memberTypeMustDerive |
|
Declaration
public TooltipAffectedByAttribute(Type rootType, bool watchAllMembers)
Parameters
| Type |
Name |
Description |
| System.Type |
rootType |
|
| System.Boolean |
watchAllMembers |
|
Declaration
public TooltipAffectedByAttribute(Type rootType, string memberName, bool watchAllSubMembers)
Parameters
| Type |
Name |
Description |
| System.Type |
rootType |
|
| System.String |
memberName |
|
| System.Boolean |
watchAllSubMembers |
|
Declaration
public TooltipAffectedByAttribute(Type rootType, string memberName, string subMemberName = null, Type mustBeDerivedFrom = null)
Parameters
| Type |
Name |
Description |
| System.Type |
rootType |
|
| System.String |
memberName |
|
| System.String |
subMemberName |
|
| System.Type |
mustBeDerivedFrom |
|
Methods
Declaration
public override PropertyChangedBeforeAfterEventHandler GetCallback(MemberInfo memberWithAttribute, out Type expectedCallbackParam)
Parameters
| Type |
Name |
Description |
| System.Reflection.MemberInfo |
memberWithAttribute |
|
| System.Type |
expectedCallbackParam |
|
Returns
Overrides
Declaration
public override bool PassEventFirstParamToCallback(Type firstParamType, Type rootType)
Parameters
| Type |
Name |
Description |
| System.Type |
firstParamType |
|
| System.Type |
rootType |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Extension Methods