A convenience class that facilitates the process of using ILookupDecorator.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public sealed class LookupDecorator<TDecoratedType, TInterface> where TDecoratedType : class where TInterface : class
Visual Basic
Public NotInheritable Class LookupDecorator(Of TDecoratedType As Class, TInterface As Class)

Type Parameters

TDecoratedType
The type of the instances whose Lookup(Type) behavior should be modified.
TInterface
The interface or type that clients will use during the Lookup(Type) call. Note that this is normally an interface and not the implementation of the interface since client code will use the interface for the query.

Remarks

This class provides convenience methods that help in performing common tasks related to decorating the Lookup(Type) method for a certain TDecoratedType.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Model..::..LookupDecorator<(Of <(<'TDecoratedType, TInterface>)>)>

See Also