[chore:] applied improved set naming
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user