C# Class kOS.Volume

Afficher le fichier Open project: Nivekk/KOS Class Usage Examples

Méthodes publiques

Свойство Type Description
Capacity int
Name String
Renameable bool

Protected Properties

Свойство Type Description
files List

Méthodes publiques

Méthode Description
AppendToFile ( string name, string str ) : void
CheckRange ( ) : bool
DeleteByName ( String name ) : void
GetByName ( String name ) : File
GetFileList ( ) : List
GetFreeSpace ( ) : int
IsRoomFor ( File newFile ) : bool
LoadPrograms ( List programsToLoad ) : void
Save ( string nodeName ) : ConfigNode
SaveFile ( File file ) : bool

Method Details

AppendToFile() public méthode

public AppendToFile ( string name, string str ) : void
name string
str string
Résultat void

CheckRange() public méthode

public CheckRange ( ) : bool
Résultat bool

DeleteByName() public méthode

public DeleteByName ( String name ) : void
name String
Résultat void

GetByName() public méthode

public GetByName ( String name ) : File
name String
Résultat System.IO.File

GetFileList() public méthode

public GetFileList ( ) : List
Résultat List

GetFreeSpace() public méthode

public GetFreeSpace ( ) : int
Résultat int

IsRoomFor() public méthode

public IsRoomFor ( File newFile ) : bool
newFile System.IO.File
Résultat bool

LoadPrograms() public méthode

public LoadPrograms ( List programsToLoad ) : void
programsToLoad List
Résultat void

Save() public méthode

public Save ( string nodeName ) : ConfigNode
nodeName string
Résultat System.ConfigNode

SaveFile() public méthode

public SaveFile ( File file ) : bool
file System.IO.File
Résultat bool

Property Details

Capacity public_oe property

public int Capacity
Résultat int

Name public_oe property

public String Name
Résultat String

Renameable public_oe property

public bool Renameable
Résultat bool

files protected_oe property

protected List files
Résultat List