2using System.Threading.Tasks;
66 Descriptor = descriptor ??
throw new ArgumentNullException(nameof(descriptor));
Information about an engine installation.
Represents a lock on a given IDmbProvider.
readonly Func< ValueTask > disposeAction
A Func<TResult> to use as the implementation of DisposeAsync.
string Descriptor
A description of the DmbLock's purpose.
string Directory
The primary game directory.
Guid LockID
Unique ID of the lock.
DmbLock(Func< ValueTask > disposeAction, IDmbProvider baseProvider, string descriptor)
Initializes a new instance of the DmbLock class.
DateTimeOffset LockTime
The DateTimeOffset of when the lock was acquired.
readonly IDmbProvider baseProvider
The IDmbProvider being wrapped.
string DmbName
The file name of the .dmb.
void KeepAlive()
Disposing the IDmbProvider won't cause a cleanup of the working directory.
bool KeptAlive
If KeepAlive was called on the DmbLock.
Provides absolute paths to the latest compiled .dmbs.
void KeepAlive()
Disposing the IDmbProvider won't cause a cleanup of the working directory.
EngineVersion EngineVersion
The Api.Models.EngineVersion used to build the .dmb.
string Directory
The primary game directory.
string DmbName
The file name of the .dmb.
Models.CompileJob CompileJob
The CompileJob of the .dmb.