public DirectoryContainer(string path) { Initialize(); Path = path; Options = new DirectoryContainerOptions(); }
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); }