/// <summary>
 /// Gets a <see cref="ExtendedDataCollection"/> from the <see cref="ExtendedDataCollection"/>
 /// </summary>
 /// <param name="extendedData">
 /// The extended Data.
 /// </param>
 /// <returns>
 /// The <see cref="ExtendedDataCollection"/>.
 /// </returns>
 public static ExtendedDataCollection GetExtendedDataCollection(this ExtendedDataCollection extendedData)
 {
     return(extendedData.ContainsExtendedDataSerialization()
                ? new ExtendedDataCollection(extendedData.GetValue(Constants.ExtendedDataKeys.ExtendedData))
                : null);
 }