示例#1
0
 /// <inheritdoc/>
 public NavigationRequest GoForward()
 {
     if (CurrentLayer.CanGoForward)
     {
         var req = CurrentLayer.GoForward();
         requestStream.EmitValue(req);
         return(req);
     }
     else
     {
         throw new InvalidOperationException("The current state of the NavigationHistory does not support forward navigation.");
     }
 }