IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Importer.MapXml.Parameter Class Referencesealed

Static Public Member Functions

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.
 

Properties

string Name [get, set]
 
string Sig [get, set]
 
Element[] Elements [get, set]
 
Attribute[] Attributes [get, set]
 
string Value [get, set]
 

Detailed Description

Definition at line 31 of file Param.cs.

Member Function Documentation

◆ Load()

static void IKVM.Tools.Importer.MapXml.Parameter.Load ( Parameter param,
XElement element )
static

Loads the XML element into the instruction.

Parameters
param
element

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
element
Returns

Definition at line 39 of file Param.cs.

40 {
41 var param = new Parameter();
42 Load(param, element);
43 return param;
44 }
static void Load(Parameter param, XElement element)
Loads the XML element into the instruction.
Definition Param.cs:51

Property Documentation

◆ Attributes

Attribute [] IKVM.Tools.Importer.MapXml.Parameter.Attributes
getset

Definition at line 66 of file Param.cs.

66{ get; set; }

◆ Elements

Element [] IKVM.Tools.Importer.MapXml.Parameter.Elements
getset

Definition at line 64 of file Param.cs.

64{ get; set; }

◆ Name

string IKVM.Tools.Importer.MapXml.Parameter.Name
getset

Definition at line 60 of file Param.cs.

60{ get; set; }

◆ Sig

string IKVM.Tools.Importer.MapXml.Parameter.Sig
getset

Definition at line 62 of file Param.cs.

62{ get; set; }

◆ Value

string IKVM.Tools.Importer.MapXml.Parameter.Value
getset

Definition at line 68 of file Param.cs.

68{ get; set; }

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