Exemple #1
0
 public ModelBuilderFactory(
     IManifestExtractor manifestExtractor,
     IMetaExtractor metaExtractor,
     IFileExtractor fileExtractor,
     INavigationExtractor navigationExtractor)
 {
     this.manifestExtractor   = manifestExtractor;
     this.metaExtractor       = metaExtractor;
     this.fileExtractor       = fileExtractor;
     this.navigationExtractor = navigationExtractor;
 }
Exemple #2
0
 public UniversalNavigationExtractor(
     IManifestExtractor manifestExtractor,
     INcxLoader ncxLoader,
     IFileBasedNavigationExtractor ncxNavigationExtractor,
     IXHtmlTocLoader xHtmlTocLoader,
     IFileBasedNavigationExtractor xHtmlNavigationExtractor)
 {
     this.manifestExtractor        = manifestExtractor;
     this.ncxLoader                = ncxLoader;
     this.ncxNavigationExtractor   = ncxNavigationExtractor;
     this.xHtmlTocLoader           = xHtmlTocLoader;
     this.xHtmlNavigationExtractor = xHtmlNavigationExtractor;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="PackageFactory"/> class with the specified
 ///     <paramref name="platformManager"/> and <paramref name="manifestExtractor"/>.
 /// </summary>
 /// <param name="platformManager">The <see cref="IPlatformManager"/> instance for the application.</param>
 /// <param name="manifestExtractor">
 ///     The <see cref="IManifestExtractor"/> with which to create <see cref="IPackageArchive"/> instances.
 /// </param>
 /// <param name="packageVerifier">
 ///     The <see cref="IPackageVerifier"/> instance with which to verify <see cref="IPackageArchive"/> instances.
 /// </param>
 public PackageFactory(IPlatformManager platformManager, IManifestExtractor manifestExtractor, IPackageVerifier packageVerifier)
 {
     PlatformManager   = platformManager;
     ManifestExtractor = manifestExtractor;
     PackageVerifier   = packageVerifier;
 }