Beispiel #1
0
        public BaseView Open(PanelInfo viewInfo, System.Object info = null)
        {
            BaseView baseView = _internal_open(viewInfo);

            _panelCache.Set(viewInfo.ViewId, PanelHistoryInfo.Get(viewInfo.ViewId));
            return(baseView);
        }
Beispiel #2
0
 public static PanelHistoryInfo Get(E_ViewId viewId)
 {
     if (_map.ContainsKey(viewId))
     {
         return(_map[viewId]);
     }
     else
     {
         PanelHistoryInfo info = new PanelHistoryInfo {
             _viewId = viewId
         };
         _map.Add(viewId, info);
         return(info);
     }
 }