C# Class HDLToolkit.Framework.Devices.DeviceManager

Inheritance: IXmlSerializable
显示文件 Open project: nathanrossi/hdl-toolkit Class Usage Examples

Public Methods

Method Description
CreateManufacture ( string name ) : DeviceManufacture
Deserialize ( System.Xml.Linq.XElement element ) : void
DeviceManager ( ) : System
FindManufacture ( string name ) : DeviceManufacture
FindPart ( string query ) : IEnumerable
Load ( ) : void
Save ( ) : void
Serialize ( ) : System.Xml.Linq.XElement

Private Methods

Method Description
GetCacheFile ( ) : string
LoadFromCache ( ) : void
SaveToCache ( ) : void

Method Details

CreateManufacture() public method

public CreateManufacture ( string name ) : DeviceManufacture
name string
return DeviceManufacture

Deserialize() public method

public Deserialize ( System.Xml.Linq.XElement element ) : void
element System.Xml.Linq.XElement
return void

DeviceManager() public method

public DeviceManager ( ) : System
return System

FindManufacture() public method

public FindManufacture ( string name ) : DeviceManufacture
name string
return DeviceManufacture

FindPart() public method

public FindPart ( string query ) : IEnumerable
query string
return IEnumerable

Load() public method

public Load ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Serialize() public method

public Serialize ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement