1. Workben项目中,优化了Node的入参类型与返回类型包含泛型成员的类型显示。

This commit is contained in:
fengjiayi
2025-07-31 09:54:30 +08:00
parent 152077e9b5
commit 85d04029dc
23 changed files with 583 additions and 445 deletions

View File

@@ -10,9 +10,15 @@ using System.Windows;
namespace Serein.Workbench.Converters
{
/// <summary>
/// 将集合的元素数量转换为可见性。
/// </summary>
internal class CountToVisibilityConverter : IValueConverter
{
public bool Inverse { get; set; } = false; // 可选:反转逻辑
/// <summary>
/// 可选:是否反转逻辑。
/// </summary>
public bool Inverse { get; set; } = false;
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{