C# Класс SharePointPnP.PowerShell.Commands.Provider.SPOProvider

Наследование: System.Management.Automation.Provider.NavigationCmdletProvider, IContentCmdletProvider
Показать файл Открыть проект

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

Метод Описание
ClearContent ( string path ) : void
ClearContentDynamicParameters ( string path ) : object
GetContentReader ( string path ) : IContentReader
GetContentReaderDynamicParameters ( string path ) : object
GetContentWriter ( string path ) : IContentWriter
GetContentWriterDynamicParameters ( string path ) : object

Защищенные методы

Метод Описание
CopyItem ( string path, string copyPath, bool recurse ) : void
GetChildItems ( string path, bool recurse ) : void
GetChildName ( string path ) : string
GetChildNames ( string path, ReturnContainers returnContainers ) : void
GetItem ( string path ) : void
GetParentPath ( string path, string root ) : string
HasChildItems ( string path ) : bool
IsItemContainer ( string path ) : bool
IsValidPath ( string path ) : bool
ItemExists ( string path ) : bool
MakePath ( string parent, string child ) : string
MoveItem ( string path, string destination ) : void
NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
NewDriveDynamicParameters ( ) : object
NewItem ( string path, string itemTypeName, object newItemValue ) : void
NormalizeRelativePath ( string path, string basePath ) : string
RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
RemoveItem ( string path, bool recurse ) : void
RenameItem ( string path, string newName ) : void
Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo

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

Метод Описание
CopyMoveImplementation ( string sourcePath, string targetPath, bool recurse = false, bool isCopyOperation = true, bool reCreateSourceFolder = true ) : void
ExecuteObjectSearch ( string serverRelativePath, Web web ) : object
FindWebInPath ( string serverRelativePath ) : Web
GetCachedChildItems ( string serverRelativePath ) : IEnumerable
GetCachedItem ( string serverRelativePath ) : SharePointPnP.PowerShell.Commands.Provider.SPODriveCacheItem
GetCachedWeb ( string serverRelativePath ) : SharePointPnP.PowerShell.Commands.Provider.SPODriveCacheWeb
GetCurrentDrive ( string path ) : SharePointPnP.PowerShell.Commands.Provider.SPODriveInfo
GetDrive ( string path ) : SharePointPnP.PowerShell.Commands.Provider.SPODriveInfo
GetFileOrFolder ( string path, bool throwError = true, bool useChache = true ) : object
GetFolderItems ( Folder folder, bool throwError = false ) : IEnumerable
GetParentServerRelativePath ( string path ) : string
GetServerRelativePath ( string path ) : string
GetWebRelativePath ( string serverRelativePath ) : string
IsInSameSiteCollection ( Web web1, Web web2 ) : bool
IsPathDrive ( string path ) : bool
IsPropertyAvailable ( ClientObject clientObject, string propertyName ) : bool
IsSameWeb ( Web web1, Web web2 ) : bool
NormalizePath ( string path ) : string
RemoveDriveFromPath ( string path ) : string
SetCachedChildItems ( string parentServerRelativePath, IEnumerable childItems ) : void
SetCachedItem ( string serverRelativePath, object obj ) : void
SetCachedWeb ( string serverRelativePath, Web web ) : void
SetCounter ( ClientRuntimeContext ctx ) : void
WriteErrorInternal ( string message, object path, ErrorCategory errorCategory = ErrorCategory.NotSpecified, bool terminate = false, Exception exception = null ) : void

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

ClearContent() публичный Метод

public ClearContent ( string path ) : void
path string
Результат void

ClearContentDynamicParameters() публичный Метод

public ClearContentDynamicParameters ( string path ) : object
path string
Результат object

CopyItem() защищенный Метод

protected CopyItem ( string path, string copyPath, bool recurse ) : void
path string
copyPath string
recurse bool
Результат void

GetChildItems() защищенный Метод

protected GetChildItems ( string path, bool recurse ) : void
path string
recurse bool
Результат void

GetChildName() защищенный Метод

protected GetChildName ( string path ) : string
path string
Результат string

GetChildNames() защищенный Метод

protected GetChildNames ( string path, ReturnContainers returnContainers ) : void
path string
returnContainers ReturnContainers
Результат void

GetContentReader() публичный Метод

public GetContentReader ( string path ) : IContentReader
path string
Результат IContentReader

GetContentReaderDynamicParameters() публичный Метод

public GetContentReaderDynamicParameters ( string path ) : object
path string
Результат object

GetContentWriter() публичный Метод

public GetContentWriter ( string path ) : IContentWriter
path string
Результат IContentWriter

GetContentWriterDynamicParameters() публичный Метод

public GetContentWriterDynamicParameters ( string path ) : object
path string
Результат object

GetItem() защищенный Метод

protected GetItem ( string path ) : void
path string
Результат void

GetParentPath() защищенный Метод

protected GetParentPath ( string path, string root ) : string
path string
root string
Результат string

HasChildItems() защищенный Метод

protected HasChildItems ( string path ) : bool
path string
Результат bool

IsItemContainer() защищенный Метод

protected IsItemContainer ( string path ) : bool
path string
Результат bool

IsValidPath() защищенный Метод

protected IsValidPath ( string path ) : bool
path string
Результат bool

ItemExists() защищенный Метод

protected ItemExists ( string path ) : bool
path string
Результат bool

MakePath() защищенный Метод

protected MakePath ( string parent, string child ) : string
parent string
child string
Результат string

MoveItem() защищенный Метод

protected MoveItem ( string path, string destination ) : void
path string
destination string
Результат void

NewDrive() защищенный Метод

protected NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
drive System.Management.Automation.PSDriveInfo
Результат System.Management.Automation.PSDriveInfo

NewDriveDynamicParameters() защищенный Метод

protected NewDriveDynamicParameters ( ) : object
Результат object

NewItem() защищенный Метод

protected NewItem ( string path, string itemTypeName, object newItemValue ) : void
path string
itemTypeName string
newItemValue object
Результат void

NormalizeRelativePath() защищенный Метод

protected NormalizeRelativePath ( string path, string basePath ) : string
path string
basePath string
Результат string

RemoveDrive() защищенный Метод

protected RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
drive System.Management.Automation.PSDriveInfo
Результат System.Management.Automation.PSDriveInfo

RemoveItem() защищенный Метод

protected RemoveItem ( string path, bool recurse ) : void
path string
recurse bool
Результат void

RenameItem() защищенный Метод

protected RenameItem ( string path, string newName ) : void
path string
newName string
Результат void

Start() защищенный Метод

protected Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo
providerInfo System.Management.Automation.ProviderInfo
Результат System.Management.Automation.ProviderInfo