fix 2 method xml summaries
This commit is contained in:
1 parent
a352311ce9
commit
da47650ed8
1 file changed
+2
-4
@@ -300,8 +300,7 @@ namespace mbts.ui {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The List<SortingCriterion> stored in GridSettings needs a column-id, but collection_view.SortDescriptions only have sort-property-path.
|
||||
/// This method maps property-paths to column-ids to get a List<SortingCriteria> that is appropriate for GridSettings.
|
||||
/// Converts <paramref name="collection_view"/>.SortDescriptions into a List<<see cref="SortingCriteria"/>>.
|
||||
/// </summary>
|
||||
public static List<SortingCriteria> get_sorting_criteria(this ICollectionView collection_view, ObservableCollection<controls.DIYGrid.ColumnBase> columns) =>
|
||||
collection_view.SortDescriptions
|
||||
@@ -310,8 +309,7 @@ namespace mbts.ui {
|
||||
.ToList();
|
||||
|
||||
/// <summary>
|
||||
/// The ICollectionView.SortDescriptions call for a sort-property-path while the List<SortingCriteria> in GridSettings uses column-id.
|
||||
/// This method matches each column-id to a specific column and creates a SortDescription with said column's sort-member-path.
|
||||
/// Converts each <see cref="SortingCriteria"/> into a <see cref="SortDescription"/> and assigns the result to <paramref name="collection_view"/>.SortDescriptions.
|
||||
/// </summary>
|
||||
public static void set_sort_descriptions(this ICollectionView collection_view, IEnumerable<SortingCriteria> sorting_criterion, ObservableCollection<controls.DIYGrid.ColumnBase> columns) {
|
||||
using (collection_view.DeferRefresh()) {
|
||||
|
||||
Reference in new issue
Block a user