清理无用代码

This commit is contained in:
GG Z
2026-02-18 21:41:30 +08:00
parent ee325d169e
commit 94cf3f3266
131 changed files with 69 additions and 12589 deletions

View File

@@ -17,25 +17,6 @@ namespace ShrlAlgoToolkit.RevitAddins.Converters
return head is "族类型" && !string.IsNullOrEmpty(searchText) && !string.IsNullOrEmpty(cellText) ? cellText.Contains(searchText) : (object)false;
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
{
return null;
}
}
public class SearchFamilyValueConverter : IMultiValueConverter
{
public static SearchFamilyValueConverter Instance { get; } = new SearchFamilyValueConverter();
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
var cellText = values[0] == null ? string.Empty : values[0].ToString();
var searchText = values[1] as string;
var cell = values[2] as DataGridCell;
var head = cell?.Column?.Header?.ToString();
return head is "族名称" && !string.IsNullOrEmpty(searchText) && !string.IsNullOrEmpty(cellText) ? cellText.Contains(searchText) : (object)false;
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
{
return null;