/// <summary>
 /// Extension Method for <see cref="IEnumerable"/>.
 /// Converts an <see cref="IEnumerable"/> to a <see cref="ReadOnlyCollection{T}"/>.
 /// </summary>
 /// <typeparam name="T">Return type (must be subclass of <see cref="SerializableExpression"/>.</typeparam>
 /// <param name="exp">Extended class instance.</param>
 /// <param name="expConverter"><see cref="ExpressionConverter"/> instance.</param>
 /// <returns>Returns the converted <see cref="ReadOnlyCollection{T}"/>.</returns>
 public static ReadOnlyCollection <T> MakeSerializableCollection <T>(this IEnumerable exp, ExpressionConverter expConverter) where T : SerializableExpression
 {
     return(expConverter.ConvertCollection <T>(exp));
 }