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: 184.108.40.206
public sealed class LookupDecorator<TDecoratedType, TInterface> where TDecoratedType : class where TInterface : class
Public NotInheritable Class LookupDecorator(Of TDecoratedType As Class, TInterface As Class)
- The type of the instances whose Lookup(Type) behavior should be modified.
- 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.
This class provides convenience methods that help in performing common tasks related to decorating the Lookup(Type) method for a certain TDecoratedType.