C# Class Simplify.Web.Modules.Redirector

Provides website redirection manager, which controls current user location, url to previous page and url to specified page
Inheritance: IRedirector
Afficher le fichier Open project: i4004/Simplify.Web Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Redirect() public méthode

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.
Résultat void

Redirect() public méthode

Redirects the client to specified URL.
public Redirect ( string url ) : void
url string The URL.
Résultat void

Redirector() public méthode

Initializes a new instance of the Redirector class.
public Redirector ( IWebContext context ) : System
context IWebContext The context.
Résultat System

SetLoginReturnUrlFromCurrentUri() public méthode

Sets the login return URL from current URI.
public SetLoginReturnUrlFromCurrentUri ( ) : void
Résultat void

SetRedirectUrlToCurrentPage() public méthode

Sets the redirect url to current page.
public SetRedirectUrlToCurrentPage ( ) : void
Résultat void