C# Класс CodeOwls.PowerShell.Provider.Provider

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

Private Properties

Свойство Тип Описание
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

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

Метод Описание
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

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

Метод Описание
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

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

Метод Описание
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

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

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

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

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

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

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

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

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

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

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

public ClearProperty ( string path, Collection propertyToClear ) : void
path string
propertyToClear Collection
Результат void

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

public ClearPropertyDynamicParameters ( string path, Collection propertyToClear ) : object
path string
propertyToClear Collection
Результат object

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

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

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

protected CopyItemDynamicParameters ( string path, string destination, bool recurse ) : object
path string
destination string
recurse bool
Результат object

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

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

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

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

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

protected CreateContext ( string path, bool recurse, bool resolveFinalNodeFilterItems ) : IContext
path string
recurse bool
resolveFinalNodeFilterItems bool
Результат IContext

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

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

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

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

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

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

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

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

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

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

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

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

public GetHelpMaml ( string helpItemName, string path ) : string
helpItemName string
path string
Результат string

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

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

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

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

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

public GetProperty ( string path, Collection providerSpecificPickList ) : void
path string
providerSpecificPickList Collection
Результат void

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

public GetPropertyDynamicParameters ( string path, Collection providerSpecificPickList ) : object
path string
providerSpecificPickList Collection
Результат object

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

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

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

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

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

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

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

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

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

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

protected LogVerbose ( string format ) : void
format string
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

protected SetItem ( string path, object value ) : void
path string
value object
Результат void

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

protected SetItemDynamicParameters ( string path, object value ) : object
path string
value object
Результат object

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

public SetProperty ( string path, System.Management.Automation.PSObject propertyValue ) : void
path string
propertyValue System.Management.Automation.PSObject
Результат void

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

public SetPropertyDynamicParameters ( string path, System.Management.Automation.PSObject propertyValue ) : object
path string
propertyValue System.Management.Automation.PSObject
Результат object