|
| static Attribute | Read (XElement element) |
| | Reads the XML element into a new Attribute instance.
|
| |
| static void | Load (Attribute attribute, XElement element) |
| | Loads the XML element into the instance.
|
| |
|
| static void | Load (MapXmlElement e, XElement element) |
| | Loads the XML element into the instance.
|
| |
Definition at line 31 of file Attribute.cs.
◆ Load()
| static void IKVM.Tools.Importer.MapXml.Attribute.Load |
( |
Attribute | attribute, |
|
|
XElement | element ) |
|
static |
Loads the XML element into the instance.
- Parameters
-
Definition at line 51 of file Attribute.cs.
52 {
53 Load((MapXmlElement)attribute, element);
54 attribute.Type = (string)element.Attribute("type");
55 attribute.Class = (string)element.Attribute("class");
56 attribute.Sig = (string)element.Attribute("sig");
57 attribute.Params = element.Elements(MapXmlSerializer.NS + "parameter").Select(Parameter.Read).ToArray();
58 attribute.Properties = element.Elements(MapXmlSerializer.NS + "property").Select(Parameter.Read).ToArray();
59 attribute.Fields = element.Elements(MapXmlSerializer.NS + "field").Select(Parameter.Read).ToArray();
60 }
◆ Read()
| static Attribute IKVM.Tools.Importer.MapXml.Attribute.Read |
( |
XElement | element | ) |
|
|
static |
Reads the XML element into a new Attribute instance.
- Parameters
-
- Returns
Definition at line 39 of file Attribute.cs.
40 {
41 var attribute = new Attribute();
42 Load(attribute, element);
43 return attribute;
44 }
◆ Class
| string IKVM.Tools.Importer.MapXml.Attribute.Class |
|
getset |
◆ Fields
| Parameter [] IKVM.Tools.Importer.MapXml.Attribute.Fields |
|
getset |
◆ Params
| Parameter [] IKVM.Tools.Importer.MapXml.Attribute.Params |
|
getset |
◆ Properties
| Parameter [] IKVM.Tools.Importer.MapXml.Attribute.Properties |
|
getset |
◆ Sig
| string IKVM.Tools.Importer.MapXml.Attribute.Sig |
|
getset |
◆ Type
| string IKVM.Tools.Importer.MapXml.Attribute.Type |
|
getset |
The documentation for this class was generated from the following file: