Add the drop zone arbiter, still without consumers

This commit is contained in:
Thorsten Sommer committed 2026-09-10 11:04:53 +02:00
1 parent 9e3c6a569d
commit d741a6e06d
6 files changed
+245 -2

No files matched your search

@@ -0,0 +1,14 @@
namespace AIStudio.Tools;
/// <summary>
/// Hands the dropped paths to the drop zone which was under the cursor.
/// </summary>
/// <remarks>
/// The zone is named rather than addressed, because the message bus broadcasts. Only the zone whose
/// own ID matches acts on this, and every other zone ignores it -- including the zones of circuits
/// whose browser is long gone, because an ID belongs to one instance in one circuit. What the paths
/// mean is the receiving zone's business: they may lead to files just as well as to folders.
/// </remarks>
/// <param name="ZoneId">The ID of the zone the paths were dropped on.</param>
/// <param name="Paths">The dropped paths, in the order the runtime delivered them.</param>
public readonly record struct DroppedPaths(string ZoneId, List<string> Paths);