protected ApplicationJumpListService(INativeJumpList nativeJumpList, IJumpActionsManager jumpActionsManager) {
     IconStorage = CreateDefaultIconStorage();
     jumpList = new ApplicationJumpList(this);
     Items = new ApplicationJumpItemCollectionInternal(this);
     if(InteractionHelper.IsInDesignMode(this)) return;
     this.nativeJumpList = nativeJumpList ?? currentNativeJumpList;
     this.jumpActionsManager = jumpActionsManager ?? JumpActionsManager.Current;
 }
示例#2
0
 protected ApplicationJumpListService(INativeJumpList nativeJumpList, IJumpActionsManager jumpActionsManager)
 {
     IconStorage = CreateDefaultIconStorage();
     jumpList    = new ApplicationJumpList(this);
     Items       = new ApplicationJumpItemCollectionInternal(this);
     if (InteractionHelper.IsInDesignMode(this))
     {
         return;
     }
     this.nativeJumpList     = nativeJumpList ?? currentNativeJumpList;
     this.jumpActionsManager = jumpActionsManager ?? JumpActionsManager.Current;
 }