/// <summary> /// Gets the parameters. /// </summary> /// <param name="arguments">The <see cref="XmlElement"/> encapsulates the arguments.</param> /// <returns>Parameter[].</returns> private Parameter[] GetParameters(XmlElement arguments) { List <Parameter> _parameters = new List <Parameter>(); foreach (DataSerialization.Argument _item in arguments.GetParameters()) { _parameters.Add(AS.ExportArgument(_item)); } return(_parameters.ToArray()); }