PathToUrlMapper.Contains Method

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the specified path has a URL mapping.
public bool Contains(string path)

Parameters

path string
The path to check for a mapping.

Returns

bool
true if the path has a mapping; otherwise, false.

Exceptions

ArgumentException
Thrown when path is null or empty.