C# Class libirek.Urls.UrlMapItem

Exibir arquivo 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_oe property

public string Method
return string

Path public_oe property

public string Path
return string

UrlPattern public_oe property

public string UrlPattern
return string

rx public_oe property

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