C# Класс libirek.Urls.UrlMapItem

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Method string
Path string
UrlPattern string
rx System.Text.RegularExpressions.Regex

Открытые методы

Метод Описание
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.

Описание методов

IsMatch() публичный Метод

Determines whether the specified URL is match.
public IsMatch ( string url ) : bool
url string The URL.
Результат bool

UrlMapItem() публичный Метод

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)
Результат System

Описание свойств

Method публичное свойство

public string Method
Результат string

Path публичное свойство

public string Path
Результат string

UrlPattern публичное свойство

public string UrlPattern
Результат string

rx публичное свойство

public Regex,System.Text.RegularExpressions rx
Результат System.Text.RegularExpressions.Regex