mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-03 06:46:35 +08:00
1. Workben项目中,优化了Node的入参类型与返回类型包含泛型成员的类型显示。
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user