C# Class NCldr.NCldrXmlFileDataSource

NCldrXmlFileDataSource loads/saves the raw NCLDR data from an NCldr XML data file
Set the NCldrXmlFileDataSource.NCldrDataPath property before calling NCldrXmlFileDataSource.Load
Inheritance: INCldrFileDataSource
显示文件 Open project: GuySmithFerrier/NCLDR

Public Methods

Method Description
Exists ( ) : bool

Exists returns true if the NCldr data file exists

Load ( ) : INCldrData

Loads loads the raw data from the NCldr data file and returns an NCldrData object

NCldrXmlFileDataSource ( ) : System

Initializes a new instance of the NCldrXmlFileDataSource class

Save ( INCldrData ncldrData ) : void

Save saves the NCldrData object to the NCldr data file

Method Details

Exists() public method

Exists returns true if the NCldr data file exists
public Exists ( ) : bool
return bool

Load() public method

Loads loads the raw data from the NCldr data file and returns an NCldrData object
public Load ( ) : INCldrData
return INCldrData

NCldrXmlFileDataSource() public method

Initializes a new instance of the NCldrXmlFileDataSource class
public NCldrXmlFileDataSource ( ) : System
return System

Save() public method

Save saves the NCldrData object to the NCldr data file
public Save ( INCldrData ncldrData ) : void
ncldrData INCldrData The INCldrData object to save
return void