C# 클래스 JDP.Remediation.Console.Helper

파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation

공개 프로퍼티들

프로퍼티 타입 설명
alreadyAuthorized bool
contextCount int

공개 메소드들

메소드 설명
AddWebPartToPage ( Web web, string webPartFile, Microsoft page, string zoneId ) : void
CreateAuthenticatedUserContext ( string domain, string username, SecureString password, string siteUrl ) : ClientContext
CreateAuthenticatedUserContextOld ( string domain, string username, SecureString password, string siteUrl ) : ClientContext
CreateSecureString ( string data ) : SecureString

Creates a Secure String

DeleteFileByServerRelativeUrl ( Web web, string serverRelativeFilePath ) : bool

Deletes the specified file from the specified web.

DeleteListByUrl ( Web web, string webRelativeUrl ) : void
DeleteMasterPageCatalogFile ( Web web, string mpFileName ) : void
DeleteWebPartFile ( Web web, string wpFileName ) : void
EnsureSiteColumn ( Web root, System.Guid fieldID, string fieldAsXml ) : Field
GetFileFromWeb ( Web web, string filePath ) : File
GetMasterPageInfo ( Web web ) : MasterPageInfo
ParseInputLine ( string inputLine ) : string[]
PublishMasterPage ( Web web, string mpFilePath, string title, string description ) : string
ReadInputFile ( string inputFileSpec, bool hasHeader ) : string[]
RemoveWebPartFromPage ( Web web, string wpTitle, File wpPage ) : void
SetMasterPages ( Web web, MasterPageInfo mpi, bool isRoot ) : void
SetMasterPages ( Web web, string mpFilePath, bool isRoot, bool inheritMaster ) : void
UploadDisplayTemplateFileJS ( Web web, string dtFileName, string localFilePath, string displayTemplateFolderName, string title, string description ) : void
UploadMasterPage ( Web web, string mpFileName, string localFilePath, string title, string description ) : string
UploadWebPartFile ( Web web, string wpFileName, string localFilePath, string title, string description ) : void
WebPartIsPresentOnPage ( Web web, string wpTitle, File wpPage ) : bool

비공개 메소드들

메소드 설명
GetContentType ( Web web, List list, string contentType ) : string

메소드 상세

AddWebPartToPage() 공개 정적인 메소드

public static AddWebPartToPage ( Web web, string webPartFile, Microsoft page, string zoneId ) : void
web Web
webPartFile string
page Microsoft
zoneId string
리턴 void

CreateAuthenticatedUserContext() 공개 정적인 메소드

public static CreateAuthenticatedUserContext ( string domain, string username, SecureString password, string siteUrl ) : ClientContext
domain string
username string
password System.Security.SecureString
siteUrl string
리턴 ClientContext

CreateAuthenticatedUserContextOld() 공개 정적인 메소드

public static CreateAuthenticatedUserContextOld ( string domain, string username, SecureString password, string siteUrl ) : ClientContext
domain string
username string
password System.Security.SecureString
siteUrl string
리턴 ClientContext

CreateSecureString() 공개 정적인 메소드

Creates a Secure String
public static CreateSecureString ( string data ) : SecureString
data string string to be converted
리턴 System.Security.SecureString

DeleteFileByServerRelativeUrl() 공개 정적인 메소드

Deletes the specified file from the specified web.
public static DeleteFileByServerRelativeUrl ( Web web, string serverRelativeFilePath ) : bool
web Web this MUST be the web that contains the file to delete
serverRelativeFilePath string the SERVER-relative path to the file ("/sites/site/web/lib/folder/file.ext")
리턴 bool

DeleteListByUrl() 공개 정적인 메소드

public static DeleteListByUrl ( Web web, string webRelativeUrl ) : void
web Web
webRelativeUrl string
리턴 void

DeleteMasterPageCatalogFile() 공개 정적인 메소드

public static DeleteMasterPageCatalogFile ( Web web, string mpFileName ) : void
web Web
mpFileName string
리턴 void

DeleteWebPartFile() 공개 정적인 메소드

public static DeleteWebPartFile ( Web web, string wpFileName ) : void
web Web
wpFileName string
리턴 void

EnsureSiteColumn() 공개 정적인 메소드

public static EnsureSiteColumn ( Web root, System.Guid fieldID, string fieldAsXml ) : Field
root Web
fieldID System.Guid
fieldAsXml string
리턴 Field

GetFileFromWeb() 공개 정적인 메소드

public static GetFileFromWeb ( Web web, string filePath ) : File
web Web
filePath string
리턴 File

GetMasterPageInfo() 공개 정적인 메소드

public static GetMasterPageInfo ( Web web ) : MasterPageInfo
web Web
리턴 MasterPageInfo

ParseInputLine() 공개 정적인 메소드

public static ParseInputLine ( string inputLine ) : string[]
inputLine string
리턴 string[]

PublishMasterPage() 공개 정적인 메소드

public static PublishMasterPage ( Web web, string mpFilePath, string title, string description ) : string
web Web
mpFilePath string
title string
description string
리턴 string

ReadInputFile() 공개 정적인 메소드

public static ReadInputFile ( string inputFileSpec, bool hasHeader ) : string[]
inputFileSpec string
hasHeader bool
리턴 string[]

RemoveWebPartFromPage() 공개 정적인 메소드

public static RemoveWebPartFromPage ( Web web, string wpTitle, File wpPage ) : void
web Web
wpTitle string
wpPage File
리턴 void

SetMasterPages() 공개 정적인 메소드

public static SetMasterPages ( Web web, MasterPageInfo mpi, bool isRoot ) : void
web Web
mpi MasterPageInfo
isRoot bool
리턴 void

SetMasterPages() 공개 정적인 메소드

public static SetMasterPages ( Web web, string mpFilePath, bool isRoot, bool inheritMaster ) : void
web Web
mpFilePath string
isRoot bool
inheritMaster bool
리턴 void

UploadDisplayTemplateFileJS() 공개 정적인 메소드

public static UploadDisplayTemplateFileJS ( Web web, string dtFileName, string localFilePath, string displayTemplateFolderName, string title, string description ) : void
web Web
dtFileName string
localFilePath string
displayTemplateFolderName string
title string
description string
리턴 void

UploadMasterPage() 공개 정적인 메소드

public static UploadMasterPage ( Web web, string mpFileName, string localFilePath, string title, string description ) : string
web Web
mpFileName string
localFilePath string
title string
description string
리턴 string

UploadWebPartFile() 공개 정적인 메소드

public static UploadWebPartFile ( Web web, string wpFileName, string localFilePath, string title, string description ) : void
web Web
wpFileName string
localFilePath string
title string
description string
리턴 void

WebPartIsPresentOnPage() 공개 정적인 메소드

public static WebPartIsPresentOnPage ( Web web, string wpTitle, File wpPage ) : bool
web Web
wpTitle string
wpPage File
리턴 bool

프로퍼티 상세

alreadyAuthorized 공개적으로 정적으로 프로퍼티

public static bool alreadyAuthorized
리턴 bool

contextCount 공개적으로 정적으로 프로퍼티

public static int contextCount
리턴 int