Пример #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);
     }
 }
Пример #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);
     }
 }
Пример #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]);
     }
 }
Пример #4
0
 public void VisitViewContainer(ViewDataVisitorContained viewDataVisitor)
 {
     viewDataVisitor.VisitPrimary(VIEWNAME, _subViewsPerKey.Count);
     foreach (var entry in _subViewsPerKey)
     {
         VisitView(viewDataVisitor, entry.Key, entry.Value);
     }
 }
Пример #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]);
     }
 }