|
| static void | Load (MapXmlElement e, XElement element) |
| | Loads the XML element into the instance.
|
| |
Definition at line 31 of file ExceptionMapping.cs.
◆ Load()
| static void IKVM.Tools.Importer.MapXml.ExceptionMapping.Load |
( |
ExceptionMapping | exception, |
|
|
XElement | element ) |
|
static |
Loads the XML element into the instruction.
- Parameters
-
Definition at line 51 of file ExceptionMapping.cs.
52 {
53 Load((MapXmlElement)exception, element);
54 exception.Source = (string)element.Attribute("src");
55 exception.Destination = (string)element.Attribute("dst");
56 exception.Code = element.Elements(MapXmlSerializer.NS + "code").Select(InstructionList.Read).FirstOrDefault();
57 }
◆ Read()
| static ExceptionMapping IKVM.Tools.Importer.MapXml.ExceptionMapping.Read |
( |
XElement | element | ) |
|
|
static |
Reads the XML element into a new ExceptionMapping instance.
- Parameters
-
- Returns
Definition at line 39 of file ExceptionMapping.cs.
40 {
41 var mapping = new ExceptionMapping();
42 Load(mapping, element);
43 return mapping;
44 }
◆ Code
◆ Destination
| string IKVM.Tools.Importer.MapXml.ExceptionMapping.Destination |
|
getset |
◆ Source
| string IKVM.Tools.Importer.MapXml.ExceptionMapping.Source |
|
getset |
The documentation for this class was generated from the following file: