Beispiel #1
0
        public DirectoryContainer(string path)
        {
            Initialize();

            Path    = path;
            Options = new DirectoryContainerOptions();
        }
Beispiel #2
0
        public DirectoryContainer(XElement element, ILoadingContext context) : base(element, context)
        {
            Initialize();

            Path = element.Element("Path").Value;
            Include.AddRange(LoadRules(element.Element("Include"), context));
            Exclude.AddRange(LoadRules(element.Element("Exclude"), context));
            Options = new DirectoryContainerOptions(element.Element("Options"), context);
        }