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