C# Класс Tmx.TmxProvider

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

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

Метод Описание
InitializeDefaultDrives ( ) : Collection
IsValidPath ( string path ) : bool

Callback used to verify the syntax of a path. This method is usually invoked before the callback method for the cmdlet(ie set-item, clear-item)

ItemExists ( string path ) : bool

test-path cmdlet callback

NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
NewDriveDynamicParameters ( ) : object
RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo

The Windows PowerShell engine calls this method when the Remove-PSDrive cmdlet is run and the path to this provider is specified. This method closes the ODBC connection of the drive.

Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo
Stop ( ) : void

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

Метод Описание
GetTheRestOfPathWihoutDrive ( string path ) : string
GetTheRestOfPathWihoutProvider ( string path ) : string

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

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

protected InitializeDefaultDrives ( ) : Collection
Результат Collection

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

Callback used to verify the syntax of a path. This method is usually invoked before the callback method for the cmdlet(ie set-item, clear-item)
protected IsValidPath ( string path ) : bool
path string
Результат bool

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

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

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

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

The Windows PowerShell engine calls this method when the Remove-PSDrive cmdlet is run and the path to this provider is specified. This method closes the ODBC connection of the drive.
protected RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo
drive System.Management.Automation.PSDriveInfo The drive to remove.
Результат System.Management.Automation.PSDriveInfo

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

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

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

protected Stop ( ) : void
Результат void