예제 #1
0
 internal ExceptionManager(string author, string mod, string modVersion)
 {
     _errorsDir  = new DirectoryManager().FetchDirectoryNoParent("modErrors").FetchDirectoryNoParent(mod);
     _modVersion = modVersion;
     _author     = author;
     _mod        = mod;
 }
예제 #2
0
        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);
        }