예제 #1
0
 /// <summary>
 /// Builds an <see cref="IndexBuilder"/> with the provided searcher and DB client.
 /// </summary>
 /// <param name="searcher">The wiki searcher to use when fetching details.</param>
 /// <param name="client">The DB client to write to.</param>
 public IndexBuilder(WikiSearcher searcher, ShipDbClient client)
 {
     _searcher = searcher;
     _client   = client ?? new ShipDbClient();
 }
예제 #2
0
 public IndexedDataProvider(ShipDbClient client)
 {
     _client = client;
 }