mirror of
https://github.com/SabreTools/SabreTools.CommandLine.git
synced 2026-09-22 14:45:40 +00:00
Simplify the method name
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user