mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 14:55:11 +00:00
Convert DipLocation fully over to properties
This commit is contained in:
@@ -344,7 +344,7 @@ namespace SabreTools.Serialization.CrossModel
|
||||
var dipLocation = new DipLocation
|
||||
{
|
||||
Name = item.Name,
|
||||
Number = item.ReadString(Data.Models.Metadata.DipLocation.NumberKey),
|
||||
Number = item.Number,
|
||||
Inverted = item.Inverted,
|
||||
};
|
||||
return dipLocation;
|
||||
|
||||
@@ -380,7 +380,7 @@ namespace SabreTools.Serialization.CrossModel
|
||||
var dipLocation = new Data.Models.Metadata.DipLocation
|
||||
{
|
||||
Name = item.Name,
|
||||
[Data.Models.Metadata.DipLocation.NumberKey] = item.Number,
|
||||
Number = item.Number,
|
||||
Inverted = item.Inverted,
|
||||
};
|
||||
return dipLocation;
|
||||
|
||||
Reference in New Issue
Block a user