IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Importer.MapXml.ConditionalInstruction Class Referencesealed
Inheritance diagram for IKVM.Tools.Importer.MapXml.ConditionalInstruction:
IKVM.Tools.Importer.MapXml.Instruction IKVM.Tools.Importer.MapXml.MapXmlElement

Static Public Member Functions

static new ConditionalInstruction Read (XElement element)
 Reads the XML element into a new instance.
 
static void Load (ConditionalInstruction inst, XElement element)
 Loads the XML element into the instance.
 
- Static Public Member Functions inherited from IKVM.Tools.Importer.MapXml.Instruction
static Instruction Read (XElement element)
 Reads the XML element into a new InstructionList instance.
 

Properties

string Framework [get, set]
 
InstructionList Code [get, set]
 
- Properties inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
int LineNumber [get, set]
 Gets the line number in the source file where this element occurs.
 
int LinePosition [get, set]
 Gets the line position in the source file where this element occurs.
 

Additional Inherited Members

- Static Protected Member Functions inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
static void Load (MapXmlElement e, XElement element)
 Loads the XML element into the instance.
 
- Package Functions inherited from IKVM.Tools.Importer.MapXml.Instruction

Detailed Description

Definition at line 35 of file ConditionalInstruction.cs.

Member Function Documentation

◆ Load()

static void IKVM.Tools.Importer.MapXml.ConditionalInstruction.Load ( ConditionalInstruction inst,
XElement element )
static

Loads the XML element into the instance.

Parameters
element
Returns

Definition at line 55 of file ConditionalInstruction.cs.

56 {
57 Load((Instruction)inst, element);
58 inst.Framework = (string)element.Attribute("framework");
59 inst.Code = element.Elements(MapXmlSerializer.NS + "code").Select(InstructionList.Read).FirstOrDefault();
60 }
IKVM.Runtime.ClassFile.Method.Instruction Instruction
Definition compiler.cs:44

◆ Read()

static new ConditionalInstruction IKVM.Tools.Importer.MapXml.ConditionalInstruction.Read ( XElement element)
static

Reads the XML element into a new instance.

Parameters
element
Returns

Definition at line 43 of file ConditionalInstruction.cs.

44 {
45 var inst = new ConditionalInstruction();
46 Load(inst, element);
47 return inst;
48 }

Property Documentation

◆ Code

InstructionList IKVM.Tools.Importer.MapXml.ConditionalInstruction.Code
getset

Definition at line 64 of file ConditionalInstruction.cs.

64{ get; set; }

◆ Framework

string IKVM.Tools.Importer.MapXml.ConditionalInstruction.Framework
getset

Definition at line 62 of file ConditionalInstruction.cs.

62{ get; set; }

The documentation for this class was generated from the following file: