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