Example #1
0
        internal GroupSpec <T> ThenBy <T>(Func <IOlapDataVector, object> groupSelector, string title = "")
        {
            var result = new GroupSpec <T>(this, groupSelector);

            GroupBuilders.Add(result);
            GroupTitles.Add(title);
            return(result);
        }
Example #2
0
 public OlapCube ThenBy(IGroupBuilder groupBuilder, string title)
 {
     GroupBuilders.Add(groupBuilder);
     GroupTitles.Add(title);
     return(this);
 }
Example #3
0
 IEnumerable <IGroup> ResolveGroups(IOlapDataVector dataVector)
 {
     return(GroupBuilders.Select(groupBuilder => groupBuilder.Build(dataVector)));
 }