C# 클래스 kOS.Safe.Persistence.VolumeManager

상속: IVolumeManager
파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Volume volume ) : void
CheckCurrentVolumeRange ( ) : bool
CheckRange ( Volume volume ) : bool
Copy ( GlobalPath sourcePath, GlobalPath destinationPath, bool verifyFreeSpace = true ) : bool
GetVolume ( int id ) : Volume
GetVolume ( object volumeId ) : Volume
GetVolume ( string name ) : Volume
GetVolumeBestIdentifier ( Volume volume ) : string
GetVolumeFromPath ( GlobalPath path ) : Volume
GetVolumeId ( Volume volume ) : int
GetVolumeRawIdentifier ( Volume volume ) : string

Like GetVolumeBestIdentifier, but without the extra string formatting.

GlobalPathFromObject ( object pathObject ) : GlobalPath
Move ( GlobalPath sourcePath, GlobalPath destinationPath ) : bool
Remove ( int id ) : void
Remove ( string name ) : void
SwitchTo ( Volume volume ) : void
UpdateVolumes ( List attachedVolumes ) : void
VolumeIsCurrent ( Volume volume ) : bool
VolumeManager ( ) : System

보호된 메소드들

메소드 설명
CopyDirectory ( GlobalPath sourcePath, GlobalPath destinationPath, bool verifyFreeSpace ) : bool
CopyFile ( VolumeFile volumeFile, GlobalPath destinationPath, Volume targetVolume, bool verifyFreeSpace ) : bool
CopyFileToDirectory ( VolumeFile volumeFile, VolumeDirectory volumeDirectory, bool verifyFreeSpace ) : bool

비공개 메소드들

메소드 설명
GetVolumeId ( string name ) : int
GlobalPathFromString ( string pathString ) : GlobalPath

메소드 상세

Add() 공개 메소드

public Add ( Volume volume ) : void
volume Volume
리턴 void

CheckCurrentVolumeRange() 공개 메소드

public CheckCurrentVolumeRange ( ) : bool
리턴 bool

CheckRange() 공개 메소드

public CheckRange ( Volume volume ) : bool
volume Volume
리턴 bool

Copy() 공개 메소드

public Copy ( GlobalPath sourcePath, GlobalPath destinationPath, bool verifyFreeSpace = true ) : bool
sourcePath GlobalPath
destinationPath GlobalPath
verifyFreeSpace bool
리턴 bool

CopyDirectory() 보호된 메소드

protected CopyDirectory ( GlobalPath sourcePath, GlobalPath destinationPath, bool verifyFreeSpace ) : bool
sourcePath GlobalPath
destinationPath GlobalPath
verifyFreeSpace bool
리턴 bool

CopyFile() 보호된 메소드

protected CopyFile ( VolumeFile volumeFile, GlobalPath destinationPath, Volume targetVolume, bool verifyFreeSpace ) : bool
volumeFile VolumeFile
destinationPath GlobalPath
targetVolume Volume
verifyFreeSpace bool
리턴 bool

CopyFileToDirectory() 보호된 메소드

protected CopyFileToDirectory ( VolumeFile volumeFile, VolumeDirectory volumeDirectory, bool verifyFreeSpace ) : bool
volumeFile VolumeFile
volumeDirectory VolumeDirectory
verifyFreeSpace bool
리턴 bool

GetVolume() 공개 메소드

public GetVolume ( int id ) : Volume
id int
리턴 Volume

GetVolume() 공개 메소드

public GetVolume ( object volumeId ) : Volume
volumeId object
리턴 Volume

GetVolume() 공개 메소드

public GetVolume ( string name ) : Volume
name string
리턴 Volume

GetVolumeBestIdentifier() 공개 메소드

public GetVolumeBestIdentifier ( Volume volume ) : string
volume Volume
리턴 string

GetVolumeFromPath() 공개 메소드

public GetVolumeFromPath ( GlobalPath path ) : Volume
path GlobalPath
리턴 Volume

GetVolumeId() 공개 메소드

public GetVolumeId ( Volume volume ) : int
volume Volume
리턴 int

GetVolumeRawIdentifier() 공개 메소드

Like GetVolumeBestIdentifier, but without the extra string formatting.
public GetVolumeRawIdentifier ( Volume volume ) : string
volume Volume
리턴 string

GlobalPathFromObject() 공개 메소드

public GlobalPathFromObject ( object pathObject ) : GlobalPath
pathObject object
리턴 GlobalPath

Move() 공개 메소드

public Move ( GlobalPath sourcePath, GlobalPath destinationPath ) : bool
sourcePath GlobalPath
destinationPath GlobalPath
리턴 bool

Remove() 공개 메소드

public Remove ( int id ) : void
id int
리턴 void

Remove() 공개 메소드

public Remove ( string name ) : void
name string
리턴 void

SwitchTo() 공개 메소드

public SwitchTo ( Volume volume ) : void
volume Volume
리턴 void

UpdateVolumes() 공개 메소드

public UpdateVolumes ( List attachedVolumes ) : void
attachedVolumes List
리턴 void

VolumeIsCurrent() 공개 메소드

public VolumeIsCurrent ( Volume volume ) : bool
volume Volume
리턴 bool

VolumeManager() 공개 메소드

public VolumeManager ( ) : System
리턴 System