mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Rename RemoveTagsFromChild to RemoveMachineRelationshipTags
This commit is contained in:
@@ -46,9 +46,9 @@ namespace SabreTools.DatFiles.Test
|
||||
|
||||
#endregion
|
||||
|
||||
#region RemoveTagsFromChild
|
||||
#region RemoveMachineRelationshipTags
|
||||
|
||||
// TODO: Implement RemoveTagsFromChild tests
|
||||
// TODO: Implement RemoveMachineRelationshipTags tests
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -84,10 +84,10 @@ namespace SabreTools.DatFiles
|
||||
/// <summary>
|
||||
/// Remove all romof and cloneof tags from all games
|
||||
/// </summary>
|
||||
public void RemoveTagsFromChild()
|
||||
public void RemoveMachineRelationshipTags()
|
||||
{
|
||||
RemoveTagsFromChildImpl();
|
||||
RemoveTagsFromChildImplDB();
|
||||
RemoveMachineRelationshipTagsImpl();
|
||||
RemoveMachineRelationshipTagsImplDB();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -1128,7 +1128,8 @@ namespace SabreTools.DatFiles
|
||||
/// <summary>
|
||||
/// Remove all romof and cloneof tags from all games
|
||||
/// </summary>
|
||||
private void RemoveTagsFromChildImpl()
|
||||
/// <remarks>Applies to <see cref="Items"/></remarks>
|
||||
private void RemoveMachineRelationshipTagsImpl()
|
||||
{
|
||||
List<string> games = [.. Items.Keys];
|
||||
games.Sort();
|
||||
@@ -1157,7 +1158,8 @@ namespace SabreTools.DatFiles
|
||||
/// <summary>
|
||||
/// Remove all romof and cloneof tags from all games
|
||||
/// </summary>
|
||||
private void RemoveTagsFromChildImplDB()
|
||||
/// <remarks>Applies to <see cref="ItemsDB"/></remarks>
|
||||
private void RemoveMachineRelationshipTagsImplDB()
|
||||
{
|
||||
var machines = ItemsDB.GetMachines();
|
||||
foreach (var machine in machines)
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace SabreTools.DatTools
|
||||
while (datFile.AddRomsFromDevices(true, false)) ;
|
||||
|
||||
// Then, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
datFile.RemoveTagsFromChild();
|
||||
datFile.RemoveMachineRelationshipTags();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -131,7 +131,7 @@ namespace SabreTools.DatTools
|
||||
datFile.RemoveBiosRomsFromChild(true);
|
||||
|
||||
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
datFile.RemoveTagsFromChild();
|
||||
datFile.RemoveMachineRelationshipTags();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -154,7 +154,7 @@ namespace SabreTools.DatTools
|
||||
datFile.AddRomsFromBios();
|
||||
|
||||
// Then, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
datFile.RemoveTagsFromChild();
|
||||
datFile.RemoveMachineRelationshipTags();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -176,7 +176,7 @@ namespace SabreTools.DatTools
|
||||
datFile.RemoveBiosRomsFromChild(true);
|
||||
|
||||
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
datFile.RemoveTagsFromChild();
|
||||
datFile.RemoveMachineRelationshipTags();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -198,7 +198,7 @@ namespace SabreTools.DatTools
|
||||
datFile.RemoveBiosRomsFromChild(true);
|
||||
|
||||
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
datFile.RemoveTagsFromChild();
|
||||
datFile.RemoveMachineRelationshipTags();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -220,7 +220,7 @@ namespace SabreTools.DatTools
|
||||
datFile.RemoveBiosRomsFromChild(true);
|
||||
|
||||
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
datFile.RemoveTagsFromChild();
|
||||
datFile.RemoveMachineRelationshipTags();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user