|
| static Field | Read (XElement element) |
| | Reads the XML element into a new Field instance.
|
| |
| static void | Load (Field field, XElement element) |
| | Loads the XML element into the instruction.
|
| |
|
| static void | Load (MapXmlElement e, XElement element) |
| | Loads the XML element into the instance.
|
| |
Definition at line 31 of file Field.cs.
◆ Load()
| static void IKVM.Tools.Importer.MapXml.Field.Load |
( |
Field | field, |
|
|
XElement | element ) |
|
static |
Loads the XML element into the instruction.
- Parameters
-
Definition at line 51 of file Field.cs.
52 {
53 Load((MapXmlElement)field, element);
54 field.Name = (string)element.Attribute("name");
55 field.Sig = (string)element.Attribute("sig");
56 field.Modifiers = MapXmlSerializer.ReadMapModifiers((string)element.Attribute("modifiers"));
57 field.Constant = (string)element.Attribute("constant");
58 field.Attributes = element.Elements(MapXmlSerializer.NS + "attribute").Select(Attribute.Read).ToArray();
59 }
◆ Read()
| static Field IKVM.Tools.Importer.MapXml.Field.Read |
( |
XElement | element | ) |
|
|
static |
Reads the XML element into a new Field instance.
- Parameters
-
- Returns
Definition at line 39 of file Field.cs.
40 {
41 var field = new Field();
43 return field;
44 }
◆ Attributes
| Attribute [] IKVM.Tools.Importer.MapXml.Field.Attributes |
|
getset |
◆ Constant
| string IKVM.Tools.Importer.MapXml.Field.Constant |
|
getset |
◆ Modifiers
◆ Name
| string IKVM.Tools.Importer.MapXml.Field.Name |
|
getset |
◆ Sig
| string IKVM.Tools.Importer.MapXml.Field.Sig |
|
getset |
The documentation for this class was generated from the following file: