C# Class kOS.Volume

Show file Open project: Nivekk/KOS Class Usage Examples

Public Properties

Property Type Description
Capacity int
Name String
Renameable bool

Protected Properties

Property Type Description
files List

Public Methods

Method 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 method

public AppendToFile ( string name, string str ) : void
name string
str string
return void

CheckRange() public method

public CheckRange ( ) : bool
return bool

DeleteByName() public method

public DeleteByName ( String name ) : void
name String
return void

GetByName() public method

public GetByName ( String name ) : File
name String
return System.IO.File

GetFileList() public method

public GetFileList ( ) : List
return List

GetFreeSpace() public method

public GetFreeSpace ( ) : int
return int

IsRoomFor() public method

public IsRoomFor ( File newFile ) : bool
newFile System.IO.File
return bool

LoadPrograms() public method

public LoadPrograms ( List programsToLoad ) : void
programsToLoad List
return void

Save() public method

public Save ( string nodeName ) : ConfigNode
nodeName string
return System.ConfigNode

SaveFile() public method

public SaveFile ( File file ) : bool
file System.IO.File
return bool

Property Details

Capacity public property

public int Capacity
return int

Name public property

public String Name
return String

Renameable public property

public bool Renameable
return bool

files protected property

protected List files
return List