45 CompileJob = compileJob ??
throw new ArgumentNullException(nameof(compileJob));
46 this.ioManager = ioManager ??
throw new ArgumentNullException(nameof(ioManager));
47 this.onDispose = onDispose ??
throw new ArgumentNullException(nameof(onDispose));
48 this.directoryAppend = directoryAppend ?? String.Empty;
52 public void Dispose() => onDispose?.Invoke();
55 public void KeepAlive() => onDispose = null;
readonly string directoryAppend
Extra path to add to the end of Api.Models.Internal.CompileJob.DirectoryName
string DmeName
The .dme file used for compilation
Use server authentication
readonly IIOManager ioManager
The IIOManager for the DmbProvider
const string DmbExtension
Extension for .dmbs
DmbProvider(CompileJob compileJob, IIOManager ioManager, Action onDispose, string directoryAppend=null)
Construct a DmbProvider
Guid DirectoryName
The Game folder the results were compiled into
Action onDispose
The Action to run when Dispose is called
Provides absolute paths to the latest compiled .dmbs
Interface for using filesystems