C# Class CodeOwls.PowerShell.Provider.Provider

Inheritance: System.Management.Automation.Provider.NavigationCmdletProvider, IPropertyCmdletProvider, ICmdletProviderSupportsHelp
Afficher le fichier Open project: beefarino/TxF Class Usage Examples

Private Properties

Свойство Type Description
ClearItem void
CopyItem void
DoCopyItem IPathNode
DoRemoveItem void
EnsurePathIsRooted string
ForceOrShouldContinue bool
ForceOrShouldContinue bool
GetChildItems void
GetChildNames void
GetCmdletHelpKeysForNodeFactory List
GetContentReader IContentReader
GetContentWriter IContentWriter
GetCopyItem ICopyItem
GetDriveForPath CodeOwls.PowerShell.Provider.Drive
GetExistingHelpDocumentFilename string
GetFirstNodeFactoryFromPath INodeFactory
GetHelpMaml string
GetHelpPathForCultureUI string
GetItem void
GetNodeFactoryFromPath IEnumerable
GetNodeFactoryFromPath IEnumerable
GetNodeFactoryFromPathOrParent IEnumerable
GetNodeFactoryFromPathOrParent IEnumerable
GetProperty void
InvokeDefaultAction void
IsRootPath bool
MoveItem void
NewItem void
NormalizeWhacks string
RemoveItem void
ResolvePath IEnumerable
SetItem void
SetProperty void
WriteChildItem void
WriteCmdletNotSupportedAtNodeError void
WriteGeneralCmdletError void
WritePathNode void
WritePathNode void

Méthodes publiques

Méthode Description
ClearContent ( string path ) : void
ClearContentDynamicParameters ( string path ) : object
ClearProperty ( string path, Collection propertyToClear ) : void
ClearPropertyDynamicParameters ( string path, Collection propertyToClear ) : object
GetContentReader ( string path ) : IContentReader
GetContentReaderDynamicParameters ( string path ) : object
GetContentWriter ( string path ) : IContentWriter
GetContentWriterDynamicParameters ( string path ) : object
GetHelpMaml ( string helpItemName, string path ) : string
GetProperty ( string path, Collection providerSpecificPickList ) : void
GetPropertyDynamicParameters ( string path, Collection providerSpecificPickList ) : object
SetProperty ( string path, System.Management.Automation.PSObject propertyValue ) : void
SetPropertyDynamicParameters ( string path, System.Management.Automation.PSObject propertyValue ) : object

Méthodes protégées

Méthode Description
ClearItem ( string path ) : void
ClearItemDynamicParameters ( string path ) : object
CopyItem ( string path, string copyPath, bool recurse ) : void
CopyItemDynamicParameters ( string path, string destination, bool recurse ) : object
CreateContext ( string path ) : IContext
CreateContext ( string path, bool recurse ) : IContext
CreateContext ( string path, bool recurse, bool resolveFinalNodeFilterItems ) : IContext
GetChildItems ( string path, bool recurse ) : void
GetChildItemsDynamicParameters ( string path, bool recurse ) : object
GetChildName ( string path ) : string
GetChildNames ( string path, ReturnContainers returnContainers ) : void
GetChildNamesDynamicParameters ( string path ) : object
GetItem ( string path ) : void
GetParentPath ( string path, string root ) : string
GetRootPath ( ) : string
HasChildItems ( string path ) : bool
InvokeDefaultAction ( string path ) : void
InvokeDefaultActionDynamicParameters ( string path ) : object
IsItemContainer ( string path ) : bool
IsValidPath ( string path ) : bool
ItemExists ( string path ) : bool
LogVerbose ( string format ) : void
MakePath ( string parent, string child ) : string
MoveItem ( string path, string destination ) : void
MoveItemDynamicParameters ( string path, string destination ) : object
NewItem ( string path, string itemTypeName, object newItemValue ) : void
NewItemDynamicParameters ( string path, string itemTypeName, object newItemValue ) : object
NormalizeRelativePath ( string path, string basePath ) : string
RemoveItem ( string path, bool recurse ) : void
RemoveItemDynamicParameters ( string path, bool recurse ) : object
RenameItem ( string path, string newName ) : void
RenameItemDynamicParameters ( string path, string newName ) : object
SetItem ( string path, object value ) : void
SetItemDynamicParameters ( string path, object value ) : object

Private Methods

Méthode Description
ClearItem ( string path, INodeFactory factory ) : void
CopyItem ( string path, INodeFactory sourceNode, string copyPath, bool recurse ) : void
DoCopyItem ( string path, string copyPath, bool recurse, ICopyItem copyItem ) : IPathNode
DoRemoveItem ( string path, bool recurse, IRemoveItem remove ) : void
EnsurePathIsRooted ( string path ) : string
ForceOrShouldContinue ( INodeFactory factory, string fullPath, string op ) : bool
ForceOrShouldContinue ( string itemName, string fullPath, string op ) : bool
GetChildItems ( string path, INodeFactory nodeFactory, bool recurse ) : void
GetChildNames ( string path, INodeFactory nodeFactory, ReturnContainers returnContainers ) : void
GetCmdletHelpKeysForNodeFactory ( INodeFactory nodeFactory ) : List
GetContentReader ( string path, INodeFactory nodeFactory ) : IContentReader
GetContentWriter ( string path, INodeFactory nodeFactory ) : IContentWriter
GetCopyItem ( INodeFactory sourceNode ) : ICopyItem
GetDriveForPath ( string path ) : CodeOwls.PowerShell.Provider.Drive
GetExistingHelpDocumentFilename ( ) : string
GetFirstNodeFactoryFromPath ( string path ) : INodeFactory
GetHelpMaml ( XmlDocument document, string key, string verb, string noun ) : string
GetHelpPathForCultureUI ( string cultureName, string moduleLocation ) : string
GetItem ( string path, INodeFactory factory ) : void
GetNodeFactoryFromPath ( string path ) : IEnumerable
GetNodeFactoryFromPath ( string path, bool resolveFinalFilter ) : IEnumerable
GetNodeFactoryFromPathOrParent ( string path ) : IEnumerable
GetNodeFactoryFromPathOrParent ( string path, bool &isParentOfPath ) : IEnumerable
GetProperty ( string path, INodeFactory factory, Collection providerSpecificPickList ) : void
InvokeDefaultAction ( string path, INodeFactory factory ) : void
IsRootPath ( string path ) : bool
MoveItem ( string path, INodeFactory sourceNode, string destination ) : void
NewItem ( string path, bool isParentPathNodeFactory, INodeFactory factory, string itemTypeName, object newItemValue ) : void
NormalizeWhacks ( string path ) : string
RemoveItem ( string path, INodeFactory factory, bool recurse ) : void
ResolvePath ( string path ) : IEnumerable
SetItem ( string path, INodeFactory factory, object value ) : void
SetProperty ( string path, INodeFactory factory, System.Management.Automation.PSObject propertyValue ) : void
WriteChildItem ( string path, bool recurse, IEnumerable children ) : void
WriteCmdletNotSupportedAtNodeError ( string path, string cmdlet, string errorId ) : void
WriteGeneralCmdletError ( Exception exception, string errorId, string path ) : void
WritePathNode ( string nodeContainerPath, INodeFactory factory ) : void
WritePathNode ( string nodeContainerPath, IPathNode node ) : 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

ClearItem() protected méthode

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

ClearItemDynamicParameters() protected méthode

protected ClearItemDynamicParameters ( string path ) : object
path string
Résultat object

ClearProperty() public méthode

public ClearProperty ( string path, Collection propertyToClear ) : void
path string
propertyToClear Collection
Résultat void

ClearPropertyDynamicParameters() public méthode

public ClearPropertyDynamicParameters ( string path, Collection propertyToClear ) : object
path string
propertyToClear Collection
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

CopyItemDynamicParameters() protected méthode

protected CopyItemDynamicParameters ( string path, string destination, bool recurse ) : object
path string
destination string
recurse bool
Résultat object

CreateContext() protected méthode

protected CreateContext ( string path ) : IContext
path string
Résultat IContext

CreateContext() protected méthode

protected CreateContext ( string path, bool recurse ) : IContext
path string
recurse bool
Résultat IContext

CreateContext() protected méthode

protected CreateContext ( string path, bool recurse, bool resolveFinalNodeFilterItems ) : IContext
path string
recurse bool
resolveFinalNodeFilterItems bool
Résultat IContext

GetChildItems() protected méthode

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

GetChildItemsDynamicParameters() protected méthode

protected GetChildItemsDynamicParameters ( string path, bool recurse ) : object
path string
recurse bool
Résultat object

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

GetChildNamesDynamicParameters() protected méthode

protected GetChildNamesDynamicParameters ( string path ) : object
path string
Résultat object

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

GetHelpMaml() public méthode

public GetHelpMaml ( string helpItemName, string path ) : string
helpItemName string
path string
Résultat string

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

GetProperty() public méthode

public GetProperty ( string path, Collection providerSpecificPickList ) : void
path string
providerSpecificPickList Collection
Résultat void

GetPropertyDynamicParameters() public méthode

public GetPropertyDynamicParameters ( string path, Collection providerSpecificPickList ) : object
path string
providerSpecificPickList Collection
Résultat object

GetRootPath() protected méthode

protected GetRootPath ( ) : string
Résultat string

HasChildItems() protected méthode

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

InvokeDefaultAction() protected méthode

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

InvokeDefaultActionDynamicParameters() protected méthode

protected InvokeDefaultActionDynamicParameters ( string path ) : object
path string
Résultat object

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

LogVerbose() protected méthode

protected LogVerbose ( string format ) : void
format string
Résultat void

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

MoveItemDynamicParameters() protected méthode

protected MoveItemDynamicParameters ( string path, string destination ) : object
path string
destination string
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

NewItemDynamicParameters() protected méthode

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

NormalizeRelativePath() protected méthode

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

RemoveItem() protected méthode

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

RemoveItemDynamicParameters() protected méthode

protected RemoveItemDynamicParameters ( string path, bool recurse ) : object
path string
recurse bool
Résultat object

RenameItem() protected méthode

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

RenameItemDynamicParameters() protected méthode

protected RenameItemDynamicParameters ( string path, string newName ) : object
path string
newName string
Résultat object

SetItem() protected méthode

protected SetItem ( string path, object value ) : void
path string
value object
Résultat void

SetItemDynamicParameters() protected méthode

protected SetItemDynamicParameters ( string path, object value ) : object
path string
value object
Résultat object

SetProperty() public méthode

public SetProperty ( string path, System.Management.Automation.PSObject propertyValue ) : void
path string
propertyValue System.Management.Automation.PSObject
Résultat void

SetPropertyDynamicParameters() public méthode

public SetPropertyDynamicParameters ( string path, System.Management.Automation.PSObject propertyValue ) : object
path string
propertyValue System.Management.Automation.PSObject
Résultat object