This commit is contained in:
GG Z
2025-08-24 13:49:55 +08:00
parent 785907d305
commit f37062be60
285 changed files with 4993 additions and 3377 deletions

View File

@@ -169,14 +169,14 @@ public partial class RenameTypeViewModel : ObservableObject
tempName = tempName.Replace(FoundText, string.IsNullOrEmpty(ReplaceText) ? string.Empty : ReplaceText);
}
if (!string.IsNullOrEmpty(ui:InputAssist.PrefixText))
if (!string.IsNullOrEmpty(PrefixText))
{
tempName = tempName.Insert(0, $"{ui:InputAssist.PrefixText}{Separator}");
tempName = tempName.Insert(0, $"{PrefixText}{Separator}");
}
if (!string.IsNullOrEmpty(ui:InputAssist.SuffixText))
if (!string.IsNullOrEmpty(SuffixText))
{
tempName += $"{Separator}{ui:InputAssist.SuffixText}";
tempName += $"{Separator}{SuffixText}";
}
renameItem.NewTypeName = tempName;
@@ -266,7 +266,7 @@ public partial class RenameTypeViewModel : ObservableObject
GetNewNames();
}
partial void Onui:InputAssist.PrefixTextChanged(string value)
partial void OnPrefixTextChanged(string value)
{
GetNewNames();
}
@@ -289,7 +289,7 @@ public partial class RenameTypeViewModel : ObservableObject
GetNewNames();
}
partial void Onui:InputAssist.SuffixTextChanged(string value)
partial void OnSuffixTextChanged(string value)
{
GetNewNames();
}