Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: int CompareTo(UrlMapping)

Declaration

public int CompareTo(
    UrlMapping other
)

Summary

Compares this mapping to another one, and returns a value indicating which mapping should be checked for a match first. The ordering is such that more specific mappings are checked first, so that they trigger even if a more generic mapping encompasses the specific one. Hence skippable mappings are treated exactly the same, and are only reordered with respect to the single non-skippable mapping that matches the exact same request.