コード例 #1
0
 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();
 }
コード例 #2
0
        public ContentsRoot(string path) : base(path, null)
        {
            var itemPath = SysIoPath.Combine(Path, WwwRoot.Filename);

            WwwRoot = Directory.Exists(itemPath) ? new WwwRoot(itemPath, this) : null;
        }
コード例 #3
0
 internal _404Template(string path, WwwRoot container) : base(path, container)
 {
 }