C# Class SharePointPnP.PowerShell.Commands.Provider.SPOProvider

Inheritance: System.Management.Automation.Provider.NavigationCmdletProvider, IContentCmdletProvider
Afficher le fichier Open project: OfficeDev/PnP-PowerShell

Méthodes publiques

Méthode Description
ClearContent ( string path ) : void
ClearContentDynamicParameters ( string path ) : object
GetContentReader ( string path ) : IContentReader
GetContentReaderDynamicParameters ( string path ) : object
GetContentWriter ( string path ) : IContentWriter
GetContentWriterDynamicParameters ( string path ) : object

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ClearContent() public méthode

public ClearContent ( string path ) : void
path string
Résultat void

ClearContentDynamicParameters() public méthode

public ClearContentDynamicParameters ( string path ) : object
path string
Résultat object

CopyItem() protected méthode

protected CopyItem ( string path, string copyPath, bool recurse ) : void
path string
copyPath string
recurse bool
Résultat void

GetChildItems() protected méthode

protected GetChildItems ( string path, bool recurse ) : void
path string
recurse bool
Résultat void

GetChildName() protected méthode

protected GetChildName ( string path ) : string
path string
Résultat string

GetChildNames() protected méthode

protected GetChildNames ( string path, ReturnContainers returnContainers ) : void
path string
returnContainers ReturnContainers
Résultat void

GetContentReader() public méthode

public GetContentReader ( string path ) : IContentReader
path string
Résultat IContentReader

GetContentReaderDynamicParameters() public méthode

public GetContentReaderDynamicParameters ( string path ) : object
path string
Résultat object

GetContentWriter() public méthode

public GetContentWriter ( string path ) : IContentWriter
path string
Résultat IContentWriter

GetContentWriterDynamicParameters() public méthode

public GetContentWriterDynamicParameters ( string path ) : object
path string
Résultat object

GetItem() protected méthode

protected GetItem ( string path ) : void
path string
Résultat void

GetParentPath() protected méthode

protected GetParentPath ( string path, string root ) : string
path string
root string
Résultat string

HasChildItems() protected méthode

protected HasChildItems ( string path ) : bool
path string
Résultat bool

IsItemContainer() protected méthode

protected IsItemContainer ( string path ) : bool
path string
Résultat bool

IsValidPath() protected méthode

protected IsValidPath ( string path ) : bool
path string
Résultat bool

ItemExists() protected méthode

protected ItemExists ( string path ) : bool
path string
Résultat bool

MakePath() protected méthode

protected MakePath ( string parent, string child ) : string
parent string
child string
Résultat string

MoveItem() protected méthode

protected MoveItem ( string path, string destination ) : void
path string
destination string
Résultat void

NewDrive() protected méthode

protected NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
drive System.Management.Automation.PSDriveInfo
Résultat System.Management.Automation.PSDriveInfo

NewDriveDynamicParameters() protected méthode

protected NewDriveDynamicParameters ( ) : object
Résultat object

NewItem() protected méthode

protected NewItem ( string path, string itemTypeName, object newItemValue ) : void
path string
itemTypeName string
newItemValue object
Résultat void

NormalizeRelativePath() protected méthode

protected NormalizeRelativePath ( string path, string basePath ) : string
path string
basePath string
Résultat string

RemoveDrive() protected méthode

protected RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
drive System.Management.Automation.PSDriveInfo
Résultat System.Management.Automation.PSDriveInfo

RemoveItem() protected méthode

protected RemoveItem ( string path, bool recurse ) : void
path string
recurse bool
Résultat void

RenameItem() protected méthode

protected RenameItem ( string path, string newName ) : void
path string
newName string
Résultat void

Start() protected méthode

protected Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo
providerInfo System.Management.Automation.ProviderInfo
Résultat System.Management.Automation.ProviderInfo