Skip to content

Commit

Permalink
Merge pull request #2912 from FirelyTeam/fix/parameters-get-doc-fix
Browse files Browse the repository at this point in the history
Update Parameters.cs for Get from remove to retrieve
  • Loading branch information
ewoutkramer authored Oct 16, 2024
2 parents b29fdb7 + 825fef0 commit f257ab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Hl7.Fhir.Base/Model/Parameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void Remove(string name, bool matchPrefix = false)
/// Searches for a parameter with the given name, and returns the matching parameter(s)
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="matchPrefix">If true, will remove all parameters which begin with the string given in the "name" parameter</param>
/// <param name="matchPrefix">If true, will retrieve all parameters which begin with the string given in the "name" parameter</param>
public IEnumerable<ParameterComponent> Get(string name, bool matchPrefix = false)
{
if (name == null) throw new ArgumentNullException("name");
Expand All @@ -137,7 +137,7 @@ public IEnumerable<ParameterComponent> Get(string name, bool matchPrefix = false
/// Searches for a parameter with the given name, and returns the matching parameter(s)
/// </summary>
/// <param name="name">The name of the parameter</param>
/// <param name="matchPrefix">If true, will remove all parameters which begin with the string given in the "name" parameter</param>
/// <param name="matchPrefix">If true, will retrieve all parameters which begin with the string given in the "name" parameter</param>
public ParameterComponent GetSingle(string name, bool matchPrefix = false)
{
if (name == null) throw new ArgumentNullException("name");
Expand Down Expand Up @@ -176,4 +176,4 @@ private string DebuggerDisplay
}
}
}
}
}

0 comments on commit f257ab2

Please sign in to comment.