Esempio n. 1
0
 public SecondaryDataSourceFactory(
     SecondarySourceShelfari shelfari,
     SecondarySourceGoodreads goodreads,
     SecondarySourceFile file)
 {
     Dictionary = new Dictionary <Enum, ISecondarySource>
     {
         { Enum.Shelfari, shelfari },
         { Enum.Goodreads, goodreads },
         { Enum.File, file }
     };
 }
Esempio n. 2
0
 public SecondaryDataSourceFactory(
     SecondarySourceShelfari shelfari,
     SecondarySourceGoodreads goodreads,
     SecondarySourceFile file,
     SecondarySourceLibraryThing libraryThing,
     SecondarySourceRoentgen roentgen)
 {
     Dictionary = new Dictionary <Enum, ISecondarySource>
     {
         { Enum.Shelfari, shelfari },
         { Enum.Goodreads, goodreads },
         { Enum.File, file },
         { Enum.LibraryThing, libraryThing },
         { Enum.Roentgen, roentgen }
     };
 }