Simplify the method name

This commit is contained in:
Matt Nadareski
2025-10-07 12:07:41 -04:00
parent df54b92031
commit f38b8734b5
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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.
/// </reamrks>
public void AddChildrenFrom(UserInput input)
public void AddFrom(UserInput input)
{
foreach (var kvp in input.Children)
{