public static ISyncSelectionsModelFactory ResolveISyncSelectionsModelFactory() { if (syncSelectionsModelFactory == null) { syncSelectionsModelFactory = new SyncSelectionsModelFactory(); } return(syncSelectionsModelFactory); }
public static ISyncSelectionsModelFactory ResolveISyncSelectionsModelFactory() { if (syncSelectionsModelFactory == null) { syncSelectionsModelFactory = new SyncSelectionsModelFactory(); } return syncSelectionsModelFactory; }
public static IMusicSyncSource ResolveITunesMusicSyncSource() { if (iTunesMusicSource == null) { ISyncSelectionsModelFactory factory = ResolveISyncSelectionsModelFactory(); IFileSystemHelper fileHelper = ResolveIFileSystemHelper(); iTunesMusicSource = new ITunesMusicSyncSource(factory, fileHelper); } return(iTunesMusicSource); }
public static IMusicSyncSource ResolveWindowsLibraryMusicSyncSource() { if (windowsLibraryMusicSource == null) { ISyncSelectionsModelFactory modelFactory = ResolveISyncSelectionsModelFactory(); IWindowsLibraryFactory winLibFactory = ResolveIWindowsLibraryFactory(); IFileSystemHelper fileHelper = ResolveIFileSystemHelper(); windowsLibraryMusicSource = new WindowsLibraryMusicSyncSource(modelFactory, fileHelper, winLibFactory); } return(windowsLibraryMusicSource); }
public static IPictureSyncSource ResolvePhotosSyncSource() { if (photoSource == null) { ISyncSelectionsModelFactory modelFactory = ResolveISyncSelectionsModelFactory(); IWindowsLibraryFactory winLibFactory = ResolveIWindowsLibraryFactory(); IFileSystemHelper fileHelper = ResolveIFileSystemHelper(); photoSource = new WindowsLibraryPictureSyncSource(modelFactory, fileHelper, winLibFactory); } return(photoSource); }
public static IZmdbSyncSource ResolveZmdbSyncSource(IDevice device) { ISyncSelectionsModelFactory factory = ResolveISyncSelectionsModelFactory(); return(new ZmdbSyncSource(device, factory, ResolveIFileSystemHelper())); }