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