/// <summary>
        /// Converts an array of relationships from webservice proxy type to this type.
        /// </summary>
        /// <param name="relationshipsData">Relationships data.</param>
        /// <returns>An array of relationships in this type.</returns>
		internal static IssueRelationship[] ConvertArray(MantisConnectWebservice.RelationshipData[] relationshipsData)
		{
            if (relationshipsData == null)
            {
                return null;
            }

			IssueRelationship[] relationships = new IssueRelationship[relationshipsData.Length];

            for (int i = 0; i < relationshipsData.Length; ++i)
            {
                relationships[i] = new IssueRelationship(relationshipsData[i]);
            }

			return relationships;
		}