Adds a lookup chain element to the chain of lookups for a given type.

Namespace: yWorks.Support
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
void AddLookup( Type t, IContextLookupChainLink lookup )
Visual Basic
Sub AddLookup ( _ t As Type, _ lookup As IContextLookupChainLink _ )

Parameters

t
Type: System..::..Type
The type to decorate the lookup.
lookup
Type: yWorks.Support..::..IContextLookupChainLink
The chain element to add to the lookup of the given type.

Remarks

The lookup chain is context specific. This method will not generally decorate the lookup of all instances of type t, but only those that stand in context of this instance. This method will only succeed if CanDecorate(Type) yields true for t.

See Also