修复错误

This commit is contained in:
ShrlAlgo
2025-09-12 09:55:36 +08:00
parent a86ed1c670
commit 0d0afbc78e
39 changed files with 706 additions and 737 deletions

View File

@@ -5,6 +5,7 @@ namespace ShrlAlgoToolkit.RevitAddins.Converters
{
public class SearchTypeValueConverter : IMultiValueConverter
{
public static SearchTypeValueConverter Instance { get; } = new SearchTypeValueConverter();
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
var cellText = values[0] == null ? string.Empty : values[0].ToString();
@@ -23,6 +24,7 @@ namespace ShrlAlgoToolkit.RevitAddins.Converters
}
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();