Exemple #1
0
        int RenderActionDetails(RenderTreeBuilder builder, int seq, HistoricEntry <TState, object> entry)
        {
            if (entry == null)
            {
                builder.AddContent(seq++, "No entry selected");
                return(seq);
            }

            builder.OpenElement(seq++, "pre");
            builder.AddContent(seq++, entry.State.ToString());
            builder.CloseElement();

            return(seq);
        }
Exemple #2
0
 void SelectEntry1(HistoricEntry <TState, object> entry)
 {
     _selectedEntry = entry;
     Store.TimeTravel(entry.State);
 }