/// <summary> /// Initialize with the specified BasePath and RootFile /// </summary> /// <param name="basePath">File system path that contains the site</param> /// <param name="rootFile">Root file for the web site (e.g. index.htm)</param> public FileBasedSiteStorage(string basePath, string rootFile, SiteStorageFileFilter filter) : this(basePath, rootFile) { fileFilter = filter; }
/// <summary> /// Create a temp file stite storage from an existing directory /// with the specified root file (directory will be deleted upon disposal) /// </summary> /// <param name="existingDirectory">existing directory</param> /// <param name="rootFile">root file</param> public TempFileSiteStorage(string existingDirectory, string rootFile, SiteStorageFileFilter filter) : base(existingDirectory, rootFile, filter) { }
/// <summary> /// Initialize using the file system path that contains the site. RootFile /// must also be specified once it is known. /// </summary> /// <param name="basePath">File system path that contains the site</param> public FileBasedSiteStorage(string basePath, SiteStorageFileFilter filter) : this(basePath) { fileFilter = filter; }
/// <summary> /// Create a TempFileSiteStorage using the specified directory name prefix. /// RootFile must also be specified once it is known. /// </summary> public TempFileSiteStorage(SiteStorageFileFilter filter) : base(TempFileManager.Instance.CreateTempDir(), filter) { }
/// <summary> /// Create a TempFileSiteStorage using the specified directory name prefix /// and RootFile. /// </summary> /// <param name="rootFile">Root file for the web site (e.g. index.htm)</param> public TempFileSiteStorage(string rootFile, SiteStorageFileFilter filter) : base(TempFileManager.Instance.CreateTempDir(), rootFile, filter) { }