C# Class W3c.Ddr.Models.Properties

This Class models a set of properties.
Exibir arquivo Open project: OpenDDRdotORG/OpenDDR-CSharp Class Usage Examples

Public Methods

Method Description
Get ( string field ) : object
GetProperty ( String field ) : String
GetProperty ( String field, String defValue ) : String
Properties ( ) : System
Properties ( String file ) : System
Reload ( ) : void
Reload ( String filename ) : void
Save ( ) : void
Save ( String filename ) : void
Set ( String field, Object value ) : void

Private Methods

Method Description
LoadFromFile ( String file ) : void

Method Details

Get() public method

public Get ( string field ) : object
field string
return object

GetProperty() public method

public GetProperty ( String field ) : String
field String
return String

GetProperty() public method

public GetProperty ( String field, String defValue ) : String
field String
defValue String
return String

Properties() public method

public Properties ( ) : System
return System

Properties() public method

public Properties ( String file ) : System
file String
return System

Reload() public method

public Reload ( ) : void
return void

Reload() public method

public Reload ( String filename ) : void
filename String
return void

Save() public method

public Save ( ) : void
return void

Save() public method

public Save ( String filename ) : void
filename String
return void

Set() public method

public Set ( String field, Object value ) : void
field String
value Object
return void