Files
2026-04-17 14:55:32 -04:00

1.1 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/TestSetups/CachedItemsList/Model/CachedItem.cs
2026-04-17T16:15:37.020486+00:00 zai-org/GLM-5-FP8 1 535fd714b2c15b81

Model

Purpose

This module provides comparison logic for sorting ITestSetup objects in a list. It exists to enable flexible, multi-field sorting of test setup records with support for both ascending and descending order, abstracting the comparison rules from the view and ViewModel layers.

Public Interface

TestSetupComparer (class)

  • Signature: public class TestSetupComparer : IComparer<ITestSetup>
  • Description: A comparer class that defines sorting behavior for ITestSetup instances based on configurable field and direction.

Properties:

  • SortField (TestSetupFields): The field to sort by. Defaults to TestSetupFields.Name.
  • SortAscending (bool): The sort direction. Defaults to true. When false, the comparison operands are swapped.

Compare(ITestSetup left, ITestSetup right)

  • Signature: public int Compare(ITestSetup left, ITestSetup right)
  • Description