Esempio n. 1
0
 /// <summary>
 /// Creates an fragment XML reader instance.
 /// </summary>
 /// <param name="oml">OML instance which owns the fragment.</param>
 /// <param name="fragmentName">Name of the fragment to be written.</param>
 public OmlFragmentWriter(Oml oml, string fragmentName)
 {
     _instance = AssemblyUtility.ExecuteInstanceMethod <object>(oml._instance, "GetFragmentXmlWriter", new object[] { fragmentName });
 }
Esempio n. 2
0
 /// <summary>
 /// Class representing the main headers of the OML, allowing value modifications.
 /// </summary>
 /// <param name="oml">OML instance from which the header belongs to.</param>
 public OmlHeader(Oml oml)
 {
     _instance = AssemblyUtility.GetInstanceField <object>(oml._instance, "Header");
 }