C# Class SenseNet.Portal.Portlets.StatusCodePortlet

A portlet for setting status code on a page after rendering.
Inheritance: SenseNet.Portal.UI.PortletFramework.PortletBase
Show file Open project: maxpavlov/FlexNet

Private Properties

Property Type Description

Public Methods

Method Description
StatusCodePortlet ( ) : System

Initializes a new instance of the StatusCodePortlet class.

Protected Methods

Method Description
Render ( System writer ) : void

Overrides Render method and sets status code if page is not viewed on localhost.

Method Details

Render() protected method

Overrides Render method and sets status code if page is not viewed on localhost.
protected Render ( System writer ) : void
writer System The writer.
return void

StatusCodePortlet() public method

Initializes a new instance of the StatusCodePortlet class.
public StatusCodePortlet ( ) : System
return System