Skip to content

Commit 3dc4a76

Browse files
committed
Cleanup: Remove unused using statements and delegate
With the removal of the private `GetValue()` method (#f92afc2), a lot of complexity was removed from the `SqlDataReaderExtensions` class. This removes the need for a number of dependencies, as well as the `TryParse` delegate.
1 parent c84b69d commit 3dc4a76

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

OnTopic.Data.Sql/SqlDataReaderExtensions.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
| Project Topics Library
55
\=============================================================================================================================*/
66
using System;
7-
using System.Data;
8-
using System.Text;
97
using Microsoft.Data.SqlClient;
10-
using OnTopic.Internal.Diagnostics;
118

129
namespace OnTopic.Data.Sql {
1310

@@ -19,11 +16,6 @@ namespace OnTopic.Data.Sql {
1916
/// </summary>
2017
internal static class SqlDataReaderExtensions {
2118

22-
/*==========================================================================================================================
23-
| DELEGATE: TRY PARSE
24-
\-------------------------------------------------------------------------------------------------------------------------*/
25-
public delegate bool TryParse<in String, U, out Boolean>(String input, out U output);
26-
2719
/*==========================================================================================================================
2820
| METHOD: GET INTEGER
2921
\-------------------------------------------------------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)