@@ -96,7 +96,7 @@ await FilesystemTasks.Wrap(() => StorageFile.GetFileFromPathAsync(Path.Combine(a
96
96
97
97
#if DEBUG
98
98
Debug . WriteLine ( "YIELD RETURNING from `GoogleDriveCloudDetector.GetProviders` (media): " ) ;
99
- Debug . WriteLine ( $ "name= { title } ; path= { path } ") ;
99
+ Debug . WriteLine ( $ "Name: { title } ; SyncFolder: { path } ") ;
100
100
#endif
101
101
102
102
yield return new CloudProvider ( CloudProviders . GoogleDrive )
@@ -124,27 +124,27 @@ await FilesystemTasks.Wrap(() => StorageFile.GetFileFromPathAsync(Path.Combine(a
124
124
} ;
125
125
}
126
126
127
- private static async Task Inspect ( SqliteConnection database , string sqlCommand , string contentsOf )
127
+ private static async Task Inspect ( SqliteConnection database , string sqlCommand , string targetDescription )
128
128
{
129
129
await using var cmdTablesAll = new SqliteCommand ( sqlCommand , database ) ;
130
130
var reader = await cmdTablesAll . ExecuteReaderAsync ( ) ;
131
- var colNamesList = Enumerable . Range ( 0 , reader . FieldCount ) . Select ( j => reader . GetName ( j ) ) . ToList ( ) ;
131
+ var colNamesList = Enumerable . Range ( 0 , reader . FieldCount ) . Select ( reader . GetName ) . ToList ( ) ;
132
132
133
133
#if DEBUG
134
- Debug . WriteLine ( $ "BEGIN LOGGING of { contentsOf } contents ") ;
134
+ Debug . WriteLine ( $ "BEGIN LOGGING of { targetDescription } ") ;
135
135
#endif
136
136
137
137
for ( int index = 0 ; reader . Read ( ) is not false ; index ++ )
138
138
{
139
139
var colVals = new object [ reader . FieldCount ] ;
140
140
reader . GetValues ( colVals ) ;
141
141
142
- colVals . Select ( ( val , j ) => $ "row { index } : column { j } : { colNamesList [ j ] } : { val } ")
142
+ colVals . Select ( ( val , i ) => $ "row { index } : column { i } : { colNamesList [ i ] } : { val } ")
143
143
. ToList ( ) . ForEach ( s => Debug . WriteLine ( s ) ) ;
144
144
}
145
145
146
146
#if DEBUG
147
- Debug . WriteLine ( $ "END LOGGING of { contentsOf } contents") ;
147
+ Debug . WriteLine ( $ "END LOGGING of { targetDescription } contents") ;
148
148
#endif
149
149
}
150
150
0 commit comments