From f38b8734b559d80c76c5c29818438156ff901daa Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 7 Oct 2025 12:07:41 -0400 Subject: [PATCH] Simplify the method name --- SabreTools.CommandLine.Test/CommandSetTests.cs | 2 +- SabreTools.CommandLine/CommandSet.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreTools.CommandLine.Test/CommandSetTests.cs b/SabreTools.CommandLine.Test/CommandSetTests.cs index 3c48404..90f2d97 100644 --- a/SabreTools.CommandLine.Test/CommandSetTests.cs +++ b/SabreTools.CommandLine.Test/CommandSetTests.cs @@ -22,7 +22,7 @@ namespace SabreTools.CommandLine.Test var featureSet = new CommandSet(); featureSet.Add(input1); featureSet.Add(input2); - featureSet.AddChildrenFrom(feature1); + featureSet.AddFrom(feature1); var actualInput1 = featureSet["input1"]; Assert.NotNull(actualInput1); diff --git a/SabreTools.CommandLine/CommandSet.cs b/SabreTools.CommandLine/CommandSet.cs index e2d2ffd..687c1f4 100644 --- a/SabreTools.CommandLine/CommandSet.cs +++ b/SabreTools.CommandLine/CommandSet.cs @@ -135,7 +135,7 @@ namespace SabreTools.CommandLine /// If there is any overlap between existing names and the names from /// any of the children, this operation will overwrite them. /// - public void AddChildrenFrom(UserInput input) + public void AddFrom(UserInput input) { foreach (var kvp in input.Children) {