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

Static Public Member Functions

static Attribute Read (XElement element)
 Reads the XML element into a new Attribute instance.
 
static void Load (Attribute attribute, XElement element)
 Loads the XML element into the instance.
 

Properties

string Type [get, set]
 
string Class [get, set]
 
string Sig [get, set]
 
Parameter[] Params [get, set]
 
Parameter[] Properties [get, set]
 
Parameter[] Fields [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.
 

Detailed Description

Definition at line 31 of file Attribute.cs.

Member Function Documentation

◆ Load()

static void IKVM.Tools.Importer.MapXml.Attribute.Load ( Attribute attribute,
XElement element )
static

Loads the XML element into the instance.

Parameters
attribute
element

Definition at line 51 of file Attribute.cs.

52 {
53 Load((MapXmlElement)attribute, element);
54 attribute.Type = (string)element.Attribute("type");
55 attribute.Class = (string)element.Attribute("class");
56 attribute.Sig = (string)element.Attribute("sig");
57 attribute.Params = element.Elements(MapXmlSerializer.NS + "parameter").Select(Parameter.Read).ToArray();
58 attribute.Properties = element.Elements(MapXmlSerializer.NS + "property").Select(Parameter.Read).ToArray();
59 attribute.Fields = element.Elements(MapXmlSerializer.NS + "field").Select(Parameter.Read).ToArray();
60 }
static void Load(Attribute attribute, XElement element)
Loads the XML element into the instance.
Definition Attribute.cs:51

◆ Read()

static Attribute IKVM.Tools.Importer.MapXml.Attribute.Read ( XElement element)
static

Reads the XML element into a new Attribute instance.

Parameters
element
Returns

Definition at line 39 of file Attribute.cs.

40 {
41 var attribute = new Attribute();
42 Load(attribute, element);
43 return attribute;
44 }

Property Documentation

◆ Class

string IKVM.Tools.Importer.MapXml.Attribute.Class
getset

Definition at line 64 of file Attribute.cs.

64{ get; set; }

◆ Fields

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

Definition at line 72 of file Attribute.cs.

72{ get; set; }

◆ Params

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

Definition at line 68 of file Attribute.cs.

68{ get; set; }

◆ Properties

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

Definition at line 70 of file Attribute.cs.

70{ get; set; }

◆ Sig

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

Definition at line 66 of file Attribute.cs.

66{ get; set; }

◆ Type

string IKVM.Tools.Importer.MapXml.Attribute.Type
getset

Definition at line 62 of file Attribute.cs.

62{ get; set; }

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