< Summary

Information
Class: MyNet.UI.ViewModels.List.Grouping.GroupingChangedEventArgs<T>
Assembly: MyNet.UI
File(s): https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/ViewModels/List/Grouping/GroupingChangedEventArgs.cs
Tag: 323_28699572109
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 25
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

https://raw.githubusercontent.com/sandre58/MyNet/85372080fe102cd9ee155ceab49ae000e7f66103/src/MyNet.UI/ViewModels/List/Grouping/GroupingChangedEventArgs.cs

#LineLine coverage
 1// -----------------------------------------------------------------------
 2// <copyright file="GroupingChangedEventArgs.cs" company="Stéphane ANDRE">
 3// Copyright (c) Stéphane ANDRE. All rights reserved.
 4// </copyright>
 5// -----------------------------------------------------------------------
 6
 7using System;
 8using System.Collections.Generic;
 9using MyNet.Observable.Collections.Grouping;
 10
 11namespace MyNet.UI.ViewModels.List.Grouping;
 12
 13/// <summary>
 14/// Provides data for the GroupingChanged event, containing the grouping property view models that define the current gr
 15/// </summary>
 16/// <param name="properties">The collection of grouping property view models representing the current configuration.</pa
 317public class GroupingChangedEventArgs<T>(IReadOnlyList<IGroupingProperty<T>> properties) : EventArgs
 18{
 19    /// <summary>
 20    /// Gets the collection of grouping property view models that define the current grouping configuration.
 21    /// These view models contain UI-related information such as display names, enabled state, and order.
 22    /// </summary>
 323    public IReadOnlyList<IGroupingProperty<T>> Grouping { get; } = properties;
 24}
 25