C# Class JDP.Transformation.DisableFeatureActivation.Features.Control.ControlEventReceiver

Inheritance: SPFeatureReceiver
Show file Open project: OfficeDev/PnP-Transformation

Public Methods

Method Description
FeatureActivated ( SPFeatureReceiverProperties properties ) : void
FeatureDeactivating ( SPFeatureReceiverProperties properties ) : void

Private Methods

Method Description
createLists ( string url ) : void

This method used to create lists to support disable functionality

deletLists ( string url ) : void

This method used to delete lists that are created as part of feature activation

disableCustomMsgList ( SPWeb web ) : void

This method used to create 'Disable Feature Message' list, which will hold generic message i.e. to displayed on features page

featuresList ( SPWeb web ) : void

This method used to create 'Disable Features List' list, which will be used to hold all the features to be disabled

Method Details

FeatureActivated() public method

public FeatureActivated ( SPFeatureReceiverProperties properties ) : void
properties SPFeatureReceiverProperties
return void

FeatureDeactivating() public method

public FeatureDeactivating ( SPFeatureReceiverProperties properties ) : void
properties SPFeatureReceiverProperties
return void