Showing the changes to Source/Libraries/GSF.Core.Shared/StringExtensions.cs (1 of 15 files). Show all
Unified · Split
| @@ -180,10 +180,9 @@ namespace GSF · 179 unmodified lines | |||
| 180 | /// <summary> | 180 | /// <summary> |
| 181 | /// Converts this string into the specified type. | 181 | /// Converts this string into the specified type. |
| 182 | /// </summary> | 182 | /// </summary> |
| 183 | /// <typeparam name="T"><see cref="Type"/> to convert string to.</typeparam> | ||
| 184 | /// <param name="value">Source string to convert to type.</param> | 183 | /// <param name="value">Source string to convert to type.</param> |
| 185 | /// <param name="type"><see cref="Type"/> to convert string to.</param> | 184 | /// <param name="type"><see cref="Type"/> to convert string to.</param> |
| 186 | /// <returns><see cref="string"/> converted to specified <see cref="Type"/>; default value of specified type T if conversion fails.</returns> | 185 | /// <returns><see cref="string"/> converted to specified <see cref="Type"/>; default value of specified type if conversion fails.</returns> |
| 187 | /// <remarks> | 186 | /// <remarks> |
| 188 | /// This function makes use of a <see cref="TypeConverter"/> to convert this <see cref="string"/> to the specified <paramref name="type"/>, | 187 | /// This function makes use of a <see cref="TypeConverter"/> to convert this <see cref="string"/> to the specified <paramref name="type"/>, |
| 189 | /// the best way to make sure <paramref name="value"/> can be converted back to its original type is to use the same | 188 | /// the best way to make sure <paramref name="value"/> can be converted back to its original type is to use the same |
| @@ -198,11 +197,10 @@ namespace GSF · 8 unmodified lines | |||
| 198 | /// <summary> | 197 | /// <summary> |
| 199 | /// Converts this string into the specified type. | 198 | /// Converts this string into the specified type. |
| 200 | /// </summary> | 199 | /// </summary> |
| 201 | /// <typeparam name="T"><see cref="Type"/> to convert string to.</typeparam> | ||
| 202 | /// <param name="value">Source string to convert to type.</param> | 200 | /// <param name="value">Source string to convert to type.</param> |
| 203 | /// <param name="type"><see cref="Type"/> to convert string to.</param> | 201 | /// <param name="type"><see cref="Type"/> to convert string to.</param> |
| 204 | /// <param name="culture"><see cref="CultureInfo"/> to use for the conversion.</param> | 202 | /// <param name="culture"><see cref="CultureInfo"/> to use for the conversion.</param> |
| 205 | /// <returns><see cref="string"/> converted to specified <see cref="Type"/>; default value of specified type T if conversion fails.</returns> | 203 | /// <returns><see cref="string"/> converted to specified <see cref="Type"/>; default value of specified type if conversion fails.</returns> |
| 206 | /// <remarks> | 204 | /// <remarks> |
| 207 | /// This function makes use of a <see cref="TypeConverter"/> to convert this <see cref="string"/> to the specified <paramref name="type"/>, | 205 | /// This function makes use of a <see cref="TypeConverter"/> to convert this <see cref="string"/> to the specified <paramref name="type"/>, |
| 208 | /// the best way to make sure <paramref name="value"/> can be converted back to its original type is to use the same | 206 | /// the best way to make sure <paramref name="value"/> can be converted back to its original type is to use the same |