Ejemplo n.º 1
0
 protected CassetteApplicationContainerFactoryBase(ICassetteConfigurationFactory cassetteConfigurationFactory, CassetteConfigurationSection configurationSection, string physicalDirectory, string virtualDirectory)
 {
     this.cassetteConfigurationFactory = cassetteConfigurationFactory;
     this.configurationSection         = configurationSection;
     this.physicalDirectory            = physicalDirectory;
     this.virtualDirectory             = virtualDirectory;
 }
 public CreateBundlesImplementation(ICassetteConfigurationFactory configurationFactory, ICassetteManifestWriter manifestWriter, IDirectory sourceDirectory)
 {
     this.manifestWriter = manifestWriter;
     configurations = configurationFactory.CreateCassetteConfigurations();
     settings = new CassetteSettings("")
     {
         SourceDirectory = sourceDirectory,
         UrlModifier = new UrlPlaceholderWrapper()
     };
     bundles = new BundleCollection(settings);
 }
 public CreateBundlesImplementation(ICassetteConfigurationFactory configurationFactory, ICassetteManifestWriter manifestWriter, IDirectory sourceDirectory)
 {
     this.manifestWriter = manifestWriter;
     configurations      = configurationFactory.CreateCassetteConfigurations();
     settings            = new CassetteSettings("")
     {
         SourceDirectory = sourceDirectory,
         UrlModifier     = new UrlPlaceholderWrapper()
     };
     bundles = new BundleCollection(settings);
 }
Ejemplo n.º 4
0
 public CassetteApplicationContainerFactory(ICassetteConfigurationFactory cassetteConfigurationFactory,
                                            CassetteConfigurationSection configurationSection,
                                            string physicalDirectory,
                                            string virtualDirectory,
                                            bool isDebuggingEnabled,
                                            Func <NancyContext> getCurrentContext,
                                            CassetteRouteGenerator routeGenerator)
     : base(cassetteConfigurationFactory, configurationSection, physicalDirectory, virtualDirectory)
 {
     this.configurationSection = configurationSection;
     this.physicalDirectory    = physicalDirectory;
     this.virtualDirectory     = virtualDirectory;
     this.isDebuggingEnabled   = isDebuggingEnabled;
     this.getCurrentContext    = getCurrentContext;
     this.routeGenerator       = routeGenerator;
 }
Ejemplo n.º 5
0
 public CassetteApplicationContainerFactory(
     ICassetteConfigurationFactory cassetteConfigurationFactory,
     CassetteConfigurationSection configurationSection,
     string physicalDirectory,
     string virtualDirectory,
     bool isAspNetDebuggingEnabled,
     Func <HttpContextBase> getHttpContext
     )
     : base(cassetteConfigurationFactory, configurationSection, physicalDirectory, virtualDirectory)
 {
     this.configurationSection     = configurationSection;
     this.physicalDirectory        = physicalDirectory;
     this.virtualDirectory         = virtualDirectory;
     this.isAspNetDebuggingEnabled = isAspNetDebuggingEnabled;
     this.getHttpContext           = getHttpContext;
 }