Exemplo n.º 1
0
 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);
     });
 }