mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
refactor: IcdUriBuilder.AppendPath returns itself for chaining
This commit is contained in:
@@ -169,10 +169,11 @@ namespace ICD.Common.Utils
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="parts"></param>
|
/// <param name="parts"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void AppendPath(params string[] parts)
|
public IcdUriBuilder AppendPath(params string[] parts)
|
||||||
{
|
{
|
||||||
parts = parts.Prepend(Path).ToArray(parts.Length + 1);
|
parts = parts.Prepend(Path).ToArray(parts.Length + 1);
|
||||||
Path = Combine(parts);
|
Path = Combine(parts);
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Flurl
|
#region Flurl
|
||||||
|
|||||||
Reference in New Issue
Block a user