History

GSF.Core: Added overloads for StringExtensions.ConvertToType() and AdoDataConnection.ExecuteScalar() to accept the return type as a parameter rather than a type parameter.

StephenCWills committed 9 years ago

Commit a4f0fc61 parent b27264e8 files · +105 −23Browse files

Showing the changes to Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs (1 of 8 files). Show all

Unified · Split

Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs+1−1
@@ -410,7 +410,7 @@ namespace GSF.Configuration · 409 unmodified lines
410410 {
411411 return ((object)property.Converter != null)
412412 ? property.Converter.ConvertFromString(value)
413− : value.ConvertToType<object>(property.PropertyInfo.PropertyType);
413+ : value.ConvertToType(property.PropertyInfo.PropertyType);
414414 }
415415
416416 /// <summary>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t