示例#1
0
文件: OlapCube.cs 项目: lanicon/OLAP
        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);
        }
示例#2
0
文件: OlapCube.cs 项目: lanicon/OLAP
 public OlapCube ThenBy(IGroupBuilder groupBuilder, string title)
 {
     GroupBuilders.Add(groupBuilder);
     GroupTitles.Add(title);
     return(this);
 }
示例#3
0
文件: OlapCube.cs 项目: lanicon/OLAP
 IEnumerable <IGroup> ResolveGroups(IOlapDataVector dataVector)
 {
     return(GroupBuilders.Select(groupBuilder => groupBuilder.Build(dataVector)));
 }