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

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

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

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

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

Метод Описание
DoWork ( ) : void
ProcessWebUrl ( string webUrl, DataRow drMasterPage, bool replaceMasterUrl, bool replaceCustomMasterUrl, bool replaceBothMaserUrls ) : bool

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

Метод Описание
ProcessInputFile ( string masterPageInputFile, bool replaceMasterUrl, bool replaceCustomMasterUrl, bool replaceBothMaserUrls, string outputDirectory ) : void
ReadCustomOOBMasterPages ( string &customMasterPage, string &oobMasterPage ) : void
ReadInputFile ( string &masterPageInputFile ) : bool
ReadInputOptions ( bool &processInputFile, bool &processWebUrl ) : bool
ReadMasterUrlReplaceOptions ( bool &replaceMasterUrl, bool &replaceCustomMasterUrl, bool &replaceBothMasterUrls ) : bool
ReplaceMasterUrl ( ClientContext ctx, string oobMasterPageUrl, string serverRelativeUrl, bool replaceMasterUrl, bool replaceCustomMasterUrl, bool replaceBothMasterUrls ) : bool

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

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

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

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

public static ProcessWebUrl ( string webUrl, DataRow drMasterPage, bool replaceMasterUrl, bool replaceCustomMasterUrl, bool replaceBothMaserUrls ) : bool
webUrl string
drMasterPage System.Data.DataRow
replaceMasterUrl bool
replaceCustomMasterUrl bool
replaceBothMaserUrls bool
Результат bool

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

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

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

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

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

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

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