[chore:] applied improved set naming

This commit is contained in:
2025-11-17 13:28:40 +01:00
parent 743c3aacd1
commit 88bbc9644c
2 changed files with 11 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ public class DataImport
return (false, null);
}
var imported = new KasAddressList(Path.GetFileNameWithoutExtension(pathToCsv.LocalPath));
var imported = new KasAddressList(KasAddressList.GenerateName(Path.GetFileNameWithoutExtension(pathToCsv.LocalPath)));
while (!reader.EndOfStream)
{
@@ -108,7 +108,7 @@ public class DataImport
var headers = headerLine.Split(separator).Select(h => h.Trim()).ToArray();
var imported = new KasAddressList(Path.GetFileNameWithoutExtension(pathToCsv.LocalPath));
var imported = new KasAddressList(KasAddressList.GenerateName(Path.GetFileNameWithoutExtension(pathToCsv.LocalPath)));
var patchType = typeof(AddressPatch);
var binding = BindingFlags.Public | BindingFlags.Instance | BindingFlags.IgnoreCase;