PathComponentsJoin Method

Returns the concatenation of the given components. Empty components, except the 1st one, are removed.

Definition

Namespace: Quine.Schemas.Core
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public static PathComponents Join(
	params PathComponents[] pathComponents
)

Parameters

pathComponents  PathComponents
Path components to join.

Return Value

PathComponents

Remarks

If any of the components has IsAbsolute true, then it must be the 1st path in the sequence. The resulting object will also be absolute.

Exceptions

ArgumentException If an absolute path occurs anywhere but in the 1st position.

See Also