C# Класс Simplify.Web.Modules.Redirector

Provides website redirection manager, which controls current user location, url to previous page and url to specified page
Наследование: IRedirector
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Redirect ( RedirectionType redirectionType, string bookmarkName = null ) : void

Navigates the client by specifying redirection type.

Redirect ( string url ) : void

Redirects the client to specified URL.

Redirector ( IWebContext context ) : System

Initializes a new instance of the Redirector class.

SetLoginReturnUrlFromCurrentUri ( ) : void

Sets the login return URL from current URI.

SetRedirectUrlToCurrentPage ( ) : void

Sets the redirect url to current page.

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

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

Navigates the client by specifying redirection type.
public Redirect ( RedirectionType redirectionType, string bookmarkName = null ) : void
redirectionType RedirectionType Type of the redirection.
bookmarkName string Name of the bookmark.
Результат void

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

Redirects the client to specified URL.
public Redirect ( string url ) : void
url string The URL.
Результат void

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

Initializes a new instance of the Redirector class.
public Redirector ( IWebContext context ) : System
context IWebContext The context.
Результат System

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

Sets the login return URL from current URI.
public SetLoginReturnUrlFromCurrentUri ( ) : void
Результат void

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

Sets the redirect url to current page.
public SetRedirectUrlToCurrentPage ( ) : void
Результат void