Пример #1
0
 /// <summary>
 /// Copies a sortkey
 /// </summary>
 /// <param name="sortKey">The SortKey to clone</param>
 /// <returns>A new SortKey that is a clone of sortKey</returns>
 private SortKey Copy(SortKey sortKey)
 {
     return(Command.CreateSortKey(
                GetMappedVar(sortKey.Var),
                sortKey.AscendingSort,
                sortKey.Collation
                ));
 }
Пример #2
0
 /// <summary>
 /// Copies a sortkey
 /// </summary>
 /// <param name="sortKey">The SortKey to clone</param>
 /// <returns>A new SortKey that is a clone of sortKey</returns>
 private SortKey Copy(SortKey sortKey)
 {
     return Command.CreateSortKey(
         GetMappedVar(sortKey.Var),
         sortKey.AscendingSort,
         sortKey.Collation
     );
 }