PathToUrlMapper.Remove Method

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

Definition

Removes a URL mapping for the specified source path.
public bool Remove(string path)

Parameters

path string
The path to remove.

Returns

bool
true if the mapping was successfully removed; otherwise, false.

Exceptions

ArgumentException
Thrown when path is null or empty.