C# Class libirek.Urls.UrlMapItem

Afficher le fichier Open project: theanti9/irek

Méthodes publiques

Свойство Type Description
Method string
Path string
UrlPattern string
rx System.Text.RegularExpressions.Regex

Méthodes publiques

Méthode 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 méthode

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

UrlMapItem() public méthode

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)
Résultat System

Property Details

Method public_oe property

public string Method
Résultat string

Path public_oe property

public string Path
Résultat string

UrlPattern public_oe property

public string UrlPattern
Résultat string

rx public_oe property

public Regex,System.Text.RegularExpressions rx
Résultat System.Text.RegularExpressions.Regex