10 references to WindowsTrayLog
Aspire.Tray.Tests (10)
src\Aspire.Tray\Windows\WindowsTrayLauncher.cs (2)
35
WindowsTrayLog
.EnsureWritable();
49
$"The Windows tray did not acknowledge startup. See {
WindowsTrayLog
.LogPath}. {ex.Message}", ex);
WindowsTrayLogTests.cs (8)
21
using (var first =
WindowsTrayLog
.OpenLog(path))
25
using (var second =
WindowsTrayLog
.OpenLog(path))
64
Assert.Throws<IOException>(() =>
WindowsTrayLog
.OpenLog(Path.Combine(root, Path.Combine(components))));
83
Assert.Throws<IOException>(() =>
WindowsTrayLog
.OpenLog(path));
99
Assert.Throws<IOException>(() =>
WindowsTrayLog
.OpenLog(path));
109
using (var handle =
WindowsTrayLog
.OpenDirectory(path))
124
using (var handle =
WindowsTrayLog
.OpenDirectory(path))
143
using (var stream =
WindowsTrayLog
.OpenLog(path))