1 instantiation of BundleVersionLease
aspire-tray (1)
src\Shared\BundleVersionLease.cs (1)
112
var lease = new
BundleVersionLease
(
8 references to BundleVersionLease
aspire-tray (8)
Program.cs (2)
81
using
var
lease = options.BundleRoot is null
82
? null :
BundleVersionLease
.Acquire(options.BundleRoot, "tray", "tray");
src\Shared\BundleVersionLease.cs (4)
93
public static
BundleVersionLease
Acquire(string versionDirectory, string holderKind, string? commandName = null)
112
var
lease = new BundleVersionLease(
138
public static
BundleVersionLease
? TryAcquireFromEnvironment(string holderKind, string? commandName = null)
224
[JsonSerializable(typeof(
BundleVersionLease
))]
WindowsTrayLauncher.cs (2)
26
using
var
lease =
BundleVersionLease
.Acquire(options.BundleRoot, "tray-launcher", "tray start");