C# Class Tmx.TmxProvider

Inheritance: System.Management.Automation.Provider.ItemCmdletProvider
Afficher le fichier Open project: apetrovskiy/STUPS

Méthodes protégées

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

Private Methods

Méthode Description
GetTheRestOfPathWihoutDrive ( string path ) : string
GetTheRestOfPathWihoutProvider ( string path ) : string

Method Details

InitializeDefaultDrives() protected méthode

protected InitializeDefaultDrives ( ) : Collection
Résultat Collection

IsValidPath() protected méthode

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
Résultat bool

ItemExists() protected méthode

test-path cmdlet callback
protected ItemExists ( string path ) : bool
path string
Résultat bool

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

RemoveDrive() protected méthode

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.
Résultat System.Management.Automation.PSDriveInfo

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

Stop() protected méthode

protected Stop ( ) : void
Résultat void