Created
August 8, 2013 12:45
-
-
Save paigecook/6184256 to your computer and use it in GitHub Desktop.
Classes created from XML-Example for Blog Post 8/8/2013
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <remarks/> | |
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] | |
[System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)] | |
public partial class SEMAPHORE | |
{ | |
private SEMAPHOREPARAMETER[] pARAMETERSField; | |
private SEMAPHORETERM_HINT[] tERM_HINTSField; | |
/// <remarks/> | |
[System.Xml.Serialization.XmlArrayItemAttribute("PARAMETER", IsNullable = false)] | |
public SEMAPHOREPARAMETER[] PARAMETERS | |
{ | |
get | |
{ | |
return this.pARAMETERSField; | |
} | |
set | |
{ | |
this.pARAMETERSField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlArrayItemAttribute("TERM_HINT", IsNullable = false)] | |
public SEMAPHORETERM_HINT[] TERM_HINTS | |
{ | |
get | |
{ | |
return this.tERM_HINTSField; | |
} | |
set | |
{ | |
this.tERM_HINTSField = value; | |
} | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] | |
public partial class SEMAPHOREPARAMETER | |
{ | |
private string nAMEField; | |
private string valueField; | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string NAME | |
{ | |
get | |
{ | |
return this.nAMEField; | |
} | |
set | |
{ | |
this.nAMEField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTextAttribute()] | |
public string Value | |
{ | |
get | |
{ | |
return this.valueField; | |
} | |
set | |
{ | |
this.valueField = value; | |
} | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] | |
public partial class SEMAPHORETERM_HINT | |
{ | |
private SEMAPHORETERM_HINTFACET[] fACETField; | |
private SEMAPHORETERM_HINTHINT hINTField; | |
private SEMAPHORETERM_HINTFIELD[] mETADATAField; | |
private string nAMEField; | |
private string idField; | |
private string iNDEXField; | |
private decimal wEIGHTField; | |
private string cLASSField; | |
/// <remarks/> | |
[System.Xml.Serialization.XmlElementAttribute("FACET")] | |
public SEMAPHORETERM_HINTFACET[] FACET | |
{ | |
get | |
{ | |
return this.fACETField; | |
} | |
set | |
{ | |
this.fACETField = value; | |
} | |
} | |
/// <remarks/> | |
public SEMAPHORETERM_HINTHINT HINT | |
{ | |
get | |
{ | |
return this.hINTField; | |
} | |
set | |
{ | |
this.hINTField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlArrayItemAttribute("FIELD", IsNullable = false)] | |
public SEMAPHORETERM_HINTFIELD[] METADATA | |
{ | |
get | |
{ | |
return this.mETADATAField; | |
} | |
set | |
{ | |
this.mETADATAField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string NAME | |
{ | |
get | |
{ | |
return this.nAMEField; | |
} | |
set | |
{ | |
this.nAMEField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string ID | |
{ | |
get | |
{ | |
return this.idField; | |
} | |
set | |
{ | |
this.idField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string INDEX | |
{ | |
get | |
{ | |
return this.iNDEXField; | |
} | |
set | |
{ | |
this.iNDEXField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public decimal WEIGHT | |
{ | |
get | |
{ | |
return this.wEIGHTField; | |
} | |
set | |
{ | |
this.wEIGHTField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string CLASS | |
{ | |
get | |
{ | |
return this.cLASSField; | |
} | |
set | |
{ | |
this.cLASSField = value; | |
} | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] | |
public partial class SEMAPHORETERM_HINTFACET | |
{ | |
private string nAMEField; | |
private string idField; | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string NAME | |
{ | |
get | |
{ | |
return this.nAMEField; | |
} | |
set | |
{ | |
this.nAMEField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string ID | |
{ | |
get | |
{ | |
return this.idField; | |
} | |
set | |
{ | |
this.idField = value; | |
} | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] | |
public partial class SEMAPHORETERM_HINTHINT | |
{ | |
private byte emField; | |
private string[] textField; | |
private string nATUREField; | |
private string idField; | |
/// <remarks/> | |
public byte EM | |
{ | |
get | |
{ | |
return this.emField; | |
} | |
set | |
{ | |
this.emField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTextAttribute()] | |
public string[] Text | |
{ | |
get | |
{ | |
return this.textField; | |
} | |
set | |
{ | |
this.textField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string NATURE | |
{ | |
get | |
{ | |
return this.nATUREField; | |
} | |
set | |
{ | |
this.nATUREField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string ID | |
{ | |
get | |
{ | |
return this.idField; | |
} | |
set | |
{ | |
this.idField = value; | |
} | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] | |
public partial class SEMAPHORETERM_HINTFIELD | |
{ | |
private string nAMEField; | |
private string valueField; | |
/// <remarks/> | |
[System.Xml.Serialization.XmlAttributeAttribute()] | |
public string NAME | |
{ | |
get | |
{ | |
return this.nAMEField; | |
} | |
set | |
{ | |
this.nAMEField = value; | |
} | |
} | |
/// <remarks/> | |
[System.Xml.Serialization.XmlTextAttribute()] | |
public string Value | |
{ | |
get | |
{ | |
return this.valueField; | |
} | |
set | |
{ | |
this.valueField = value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment