public ScriptModuleWriter(TextWriter textWriter, string rootDirectory, Func <string, string> loadSourceFromFile, ICoffeeScriptCompiler coffeeScriptCompiler) { this.textWriter = textWriter; this.rootDirectory = rootDirectory; this.loadSourceFromFile = loadSourceFromFile; this.coffeeScriptCompiler = coffeeScriptCompiler; }
public ScriptModuleWriter(TextWriter textWriter, string rootDirectory, Func<string, string> loadSourceFromFile, ICoffeeScriptCompiler coffeeScriptCompiler) { this.textWriter = textWriter; this.rootDirectory = rootDirectory; this.loadSourceFromFile = loadSourceFromFile; this.coffeeScriptCompiler = coffeeScriptCompiler; }
public Manager() { configuration = LoadConfigurationFromWebConfig(); // Module files will be cached in isolated storage. storage = IsolatedStorageFile.GetUserStoreForDomain(); coffeeScriptCompiler = new CoffeeScriptCompiler(File.ReadAllText); scriptModuleContainer = BuildScriptModuleContainer(storage, configuration); stylesheetModuleContainer = BuildStylesheetModuleContainer(storage, configuration); scriptModuleContainer.UpdateStorage("scripts.xml"); stylesheetModuleContainer.UpdateStorage("stylesheets.xml"); }
public Manager() { configuration = LoadConfigurationFromWebConfig(); // Module files will be cached in isolated storage. storage = IsolatedStorageFile.GetUserStoreForDomain(); coffeeScriptCompiler = new CoffeeScriptCompiler(File.ReadAllText); scriptModuleContainer = BuildScriptModuleContainer(storage, configuration); stylesheetModuleContainer = BuildStylesheetModuleContainer(storage, configuration); scriptModuleContainer.UpdateStorage("scripts.xml"); stylesheetModuleContainer.UpdateStorage("stylesheets.xml"); }
public KnapsackHttpHandler(Func<ModuleContainer> scriptModuleContainer, Func<ModuleContainer> stylesheetModuleContainer, ICoffeeScriptCompiler coffeeScriptCompiler) { this.scriptModuleContainer = scriptModuleContainer; this.stylesheetModuleContainer = stylesheetModuleContainer; this.coffeeScriptCompiler = coffeeScriptCompiler; }
public CompileCoffeeScript(ICoffeeScriptCompiler coffeeScriptCompiler, CassetteSettings settings) { this.coffeeScriptCompiler = coffeeScriptCompiler; this.settings = settings; }
public ScriptModuleContainerBuilder(IsolatedStorageFile storage, string rootDirectory, ICoffeeScriptCompiler coffeeScriptCompiler) : base(storage, rootDirectory) { this.coffeeScriptCompiler = coffeeScriptCompiler; }
public ScriptModuleContainerBuilder(IsolatedStorageFile storage, string rootDirectory, ICoffeeScriptCompiler coffeeScriptCompiler) : base(storage, rootDirectory) { this.coffeeScriptCompiler = coffeeScriptCompiler; }
public KnapsackHttpHandler(Func <ModuleContainer> scriptModuleContainer, Func <ModuleContainer> stylesheetModuleContainer, ICoffeeScriptCompiler coffeeScriptCompiler) { this.scriptModuleContainer = scriptModuleContainer; this.stylesheetModuleContainer = stylesheetModuleContainer; this.coffeeScriptCompiler = coffeeScriptCompiler; }