Exemplo n.º 1
0
        protected XmlFileBase(FileInfo path, FileIndex fileIndex)
        {
            if (path == null)
            {
                throw new ArgumentNullException(nameof(path));
            }
            if (fileIndex == null && (this is FileIndex == false))
            {
                throw new ArgumentNullException(nameof(fileIndex));
            }

            FilePath  = path;
            FileIndex = fileIndex;

            InitDocument();
        }