Ejemplo n.º 1
0
        public override IDisposable Subscribe(IObserver <Any> observer)
        {
            var reducer          = new PageInitReducer();
            var configNode       = new ValueNode(this.definition);
            var actionWriterNode =
                new StateActionWriterNode(configNode, "page", StoreHolder, reducer);

            return(actionWriterNode.Subscribe(observer));
        }
Ejemplo n.º 2
0
        public override IDisposable Subscribe(IObserver <Any> observer)
        {
            var reducer               = new PagePushReducer();
            var valueNode             = new ValueNode(this.Parent, this.Page);
            var stateActionWriterNode = new StateActionWriterNode(
                valueNode, "page", StoreHolder, reducer
                );

            return(stateActionWriterNode.Subscribe(observer));
        }