C# Class libirek.Urls.UrlMapItem

Show file Open project: theanti9/irek

Public Properties

Property Type Description
Method string
Path string
UrlPattern string
rx System.Text.RegularExpressions.Regex

Public Methods

Method Description
IsMatch ( string url ) : bool

Determines whether the specified URL is match.

UrlMapItem ( string pattern, string method, string path = null ) : System

Initializes a new instance of the UrlMapItem class.

Method Details

IsMatch() public method

Determines whether the specified URL is match.
public IsMatch ( string url ) : bool
url string The URL.
return bool

UrlMapItem() public method

Initializes a new instance of the UrlMapItem class.
public UrlMapItem ( string pattern, string method, string path = null ) : System
pattern string The pattern.
method string The method.
path string The folder path (used only when mapping to a static content folder)
return System

Property Details

Method public property

public string Method
return string

Path public property

public string Path
return string

UrlPattern public property

public string UrlPattern
return string

rx public property

public Regex,System.Text.RegularExpressions rx
return System.Text.RegularExpressions.Regex