mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Convert ConfLocation fully over to properties
This commit is contained in:
@@ -251,7 +251,7 @@ namespace SabreTools.Serialization.CrossModel
|
||||
var confLocation = new ConfLocation
|
||||
{
|
||||
Name = item.Name,
|
||||
Number = item.ReadString(Data.Models.Metadata.ConfLocation.NumberKey),
|
||||
Number = item.Number,
|
||||
Inverted = item.Inverted,
|
||||
};
|
||||
return confLocation;
|
||||
|
||||
@@ -287,7 +287,7 @@ namespace SabreTools.Serialization.CrossModel
|
||||
var confLocation = new Data.Models.Metadata.ConfLocation
|
||||
{
|
||||
Name = item.Name,
|
||||
[Data.Models.Metadata.ConfLocation.NumberKey] = item.Number,
|
||||
Number = item.Number,
|
||||
Inverted = item.Inverted,
|
||||
};
|
||||
return confLocation;
|
||||
|
||||
Reference in New Issue
Block a user