C# Класс JDP.Remediation.Console.GenerateNonDefaultMasterPageUsageReport

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
filePath string
headermasterPage bool
outputPath string

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

Метод Описание
DoWork ( ) : void

Приватные методы

Метод Описание
ProcessSite ( string siteUrl, string NonDefMasterFileName ) : void

Executes all site collection-level reporting. Performs special processing for the site collection, then processes all child webs.

ProcessWeb ( string webUrl, bool isRoot, string SiteURL, string NonDefMasterFileName ) : void

Executes all web-level transformations related to the custom solution. Performs special processing for the root web, then recurses through all child webs.

ShowInformation ( ) : bool

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

DoWork() публичный статический Метод

public static DoWork ( ) : void
Результат void

Описание свойств

filePath публичное статическое свойство

This method reports on the usage of custom master pages. General Approach: - disable site feature: V4VisualUpgrade - note: the feature deactivator processes MPs of all child webs - process webs - delete custom hidden list: Lists/RedirectURL - disable web feature: Redirect Url List - disable web features: custom Master Pages (6) - delete custom master page files
public static string filePath
Результат string

headermasterPage публичное статическое свойство

public static bool headermasterPage
Результат bool

outputPath публичное статическое свойство

public static string outputPath
Результат string