/// <summary> /// Creates a new <see cref="NavigationHistory"/> history. /// </summary> public NavigationHistory(Func <INavigationLayer> createLayer) { requestStream = new SourceStream <NavigationRequest>(); RequestStream = requestStream.UniqueEq(); layers = new List <INavigationLayer>(); CreateLayer = createLayer; Clear(); }