C# Class JDP.Transformation.DisableFeatureActivation.CONTROLTEMPLATES.JDPDisableFeatureActivation

Inheritance: System.Web.UI.UserControl
显示文件 Open project: OfficeDev/PnP-Transformation

Protected Methods

Method Description
OnPreRender ( EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void

This method displays custom feature disabled message and also disbles set of features activation and deactivation

Private Methods

Method Description
GetFeatureIDs ( ) : void

This method reads cache for list of disabled features, if the cache is not present then builds the cache for that

ProcessControls ( System.Web.UI.ControlCollection controls ) : void

This method reads all features displaying on the page and blocks the features activation and deactivation for specified set of features

ReadFeatureConfigDetails ( ) : void

This method reads all the features which needs to be disabled from feature activation and deactivation

getWebAppName ( ) : string

Method Details

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Render() protected method

This method displays custom feature disabled message and also disbles set of features activation and deactivation
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void