C# 클래스 Tmx.TmxProvider

상속: System.Management.Automation.Provider.ItemCmdletProvider
파일 보기 프로젝트 열기: apetrovskiy/STUPS

보호된 메소드들

메소드 설명
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