Class Reference
Assembly: Xareus.Relations.dll
Syntax
[Serializable]
[DataContract(Name = "Reference", Namespace = "http://www.insa-rennes.fr/Xareus.Relations")]
public class Reference
Properties
Idref
Declaration
[DataMember]
public string Idref { get; set; }
Property Value
Methods
Deserialize(string)
Declaration
public static Reference Deserialize(string xml)
Parameters
Type |
Name |
Description |
string |
xml |
|
Returns
Deserialize(string, out Reference)
Declaration
public static bool Deserialize(string xml, out Reference obj)
Parameters
Returns
Deserialize(string, out Reference, out Exception)
Deserializes workflow markup into an Reference object
Declaration
public static bool Deserialize(string xml, out Reference obj, out Exception exception)
Parameters
Type |
Name |
Description |
string |
xml |
string workflow markup to deserialize
|
Reference |
obj |
Output Reference object
|
Exception |
exception |
output Exception value if deserialize failed
|
Returns
Type |
Description |
bool |
true if this XmlSerializer can deserialize the object; otherwise, false
|
LoadFromFile(string)
Declaration
public static Reference LoadFromFile(string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
LoadFromFile(string, out Reference)
Declaration
public static bool LoadFromFile(string fileName, out Reference obj)
Parameters
Returns
LoadFromFile(string, out Reference, out Exception)
Deserializes XML markup from file into an Reference object
Declaration
public static bool LoadFromFile(string fileName, out Reference obj, out Exception exception)
Parameters
Type |
Name |
Description |
string |
fileName |
string xml file to load and deserialize
|
Reference |
obj |
Output Reference object
|
Exception |
exception |
output Exception value if deserialize failed
|
Returns
Type |
Description |
bool |
true if this XmlSerializer can deserialize the object; otherwise, false
|
SaveToFile(string)
Declaration
public virtual void SaveToFile(string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
SaveToFile(string, out Exception)
Serializes current Reference object into file
Declaration
public virtual bool SaveToFile(string fileName, out Exception exception)
Parameters
Type |
Name |
Description |
string |
fileName |
full path of output XML file
|
Exception |
exception |
output Exception value if failed
|
Returns
Type |
Description |
bool |
true if can serialize and save into file; otherwise, false
|
Serialize()
Serializes current Reference object into an XML document
Declaration
public virtual string Serialize()
Returns
Type |
Description |
string |
string XML value
|