/// <summary>
        /// Returns a clone of the object.
        /// </summary>
        /// <param name="argsDefinition"> The ScriptingApplicationArgs to clone.</param>
        /// <returns> A clone of the object.</returns>
        public static object Clone(ScriptingApplicationArgs argsDefinition)
        {
            if ( serializer == null )
            {
                // Initiate serializer.
                ScriptingApplicationArgsSerializer init = new ScriptingApplicationArgsSerializer();
            }

            XmlNode node = serializer.WriteXmlNode(typeof(ScriptingApplicationArgs), argsDefinition, "ScriptingApplicationArgs");
            XmlNode clone = node.Clone();
            return serializer.ReadXmlNode(typeof(ScriptingApplicationArgs), clone, "ScriptingApplicationArgs");
        }
 /// <summary>
 /// Returns a ScriptingApplicationArgs.
 /// </summary>
 /// <param name="xml"> The xml to load.</param>
 /// <returns> A ScriptingApplicationArgs type.</returns>
 public static ScriptingApplicationArgs FromXml(string xml)
 {
     ScriptingApplicationArgsSerializer serializer = new ScriptingApplicationArgsSerializer();
     return (ScriptingApplicationArgs)serializer.Create(xml);
 }