public PartWatcherHandler(IPartWatcher watcher) { OnGetDisplayShape<RoutePart>((ctx, part) => { if (ctx.DisplayType != "Detail") return; watcher.Watch(part); }); }
public PartWatcherHandler(IPartWatcher watcher) { OnGetDisplayShape <AutoroutePart>((ctx, part) => { if (ctx.DisplayType != "Detail") { return; } watcher.Watch(part); }); }