internal Zone(string path, WwwRoot container) : base(path, container) { Years = Directory.GetDirectories(Path, Year.FilenamePattern) .Where(filePath => Year.FilenameRegex.IsMatch(SysIoPath.GetFileName(filePath))) .Select(filePath => new Year(filePath, this)) .ToArray(); }
public ContentsRoot(string path) : base(path, null) { var itemPath = SysIoPath.Combine(Path, WwwRoot.Filename); WwwRoot = Directory.Exists(itemPath) ? new WwwRoot(itemPath, this) : null; }
internal _404Template(string path, WwwRoot container) : base(path, container) { }