internal ExceptionManager(string author, string mod, string modVersion) { _errorsDir = new DirectoryManager().FetchDirectoryNoParent("modErrors").FetchDirectoryNoParent(mod); _modVersion = modVersion; _author = author; _mod = mod; }
internal DirectoryManager FetchDirectoryNoParent(string name) { var dir = new DirectoryManager { _localContentLocation = Path.Combine(_localContentLocation, name), _root = _root, _parent = null, Folder = name, ContentFolder = ContentFolder }; CreateDirectory(name); return(dir); }