Exemplo n.º 1
0
 public void VisitViewContainer(ViewDataVisitorContained viewDataVisitor)
 {
     viewDataVisitor.VisitPrimary(GroupByViewImpl.VIEWNAME, subViewPerKey.Count);
     foreach (var entry in subViewPerKey) {
         GroupByViewImpl.VisitView(viewDataVisitor, entry.Key, entry.Value.Subview);
     }
 }
Exemplo n.º 2
0
 public void VisitViewContainer(ViewDataVisitorContained viewDataVisitor)
 {
     viewDataVisitor.VisitPrimary(VIEWNAME, subViewPerKey.Count);
     foreach (KeyValuePair<object, View> entry in subViewPerKey) {
         VisitView(viewDataVisitor, entry.Key, entry.Value);
     }
 }
Exemplo n.º 3
0
 public static void VisitViewContained(ViewDataVisitorContained viewDataVisitor, ViewFactory viewFactory, View[] views)
 {
     viewDataVisitor.VisitPrimary(viewFactory.ViewName, views.Length);
     for (int i = 0; i < views.Length; i++)
     {
         viewDataVisitor.VisitContained(i, views[i]);
     }
 }
Exemplo n.º 4
0
 public void VisitViewContainer(ViewDataVisitorContained viewDataVisitor)
 {
     viewDataVisitor.VisitPrimary(VIEWNAME, _subViewsPerKey.Count);
     foreach (var entry in _subViewsPerKey)
     {
         VisitView(viewDataVisitor, entry.Key, entry.Value);
     }
 }
Exemplo n.º 5
0
 public static void VisitViewContained(
     ViewDataVisitorContained viewDataVisitor,
     ViewFactory viewFactory,
     View[] views)
 {
     viewDataVisitor.VisitPrimary(viewFactory.GetType().GetSimpleName(), views.Length);
     for (var i = 0; i < views.Length; i++) {
         viewDataVisitor.VisitContained(i, views[i]);
     }
 }