public InitialConfiguration(CassetteConfigurationSection configurationSection, bool globalIsDebuggingEnabled, string sourceDirectory, string virtualDirectory, IsolatedStorageFile storage) { this.configurationSection = configurationSection; this.globalIsDebuggingEnabled = globalIsDebuggingEnabled; this.sourceDirectory = sourceDirectory; this.virtualDirectory = virtualDirectory; this.storage = storage; }
public InitialConfiguration_Tests() { storage = IsolatedStorageFile.GetUserStoreForAssembly(); section = new CassetteConfigurationSection(); settings = new CassetteSettings(""); }
public CassetteApplicationContainerFactory_Test() { configurationSection = new CassetteConfigurationSection(); }
static List<ICassetteConfiguration> GetAllConfigurations(CassetteConfigurationSection section) { var initialConfiguration = new InitialConfiguration( section, GetSystemWebCompilationDebug(), HttpRuntime.AppDomainAppPath, HttpRuntime.AppDomainAppVirtualPath, _storage ); var allConfigurations = new List<ICassetteConfiguration> { initialConfiguration }; allConfigurations.AddRange(_configurations); return allConfigurations; }