AI-Studio/app/MindWork AI Studio/Tools/Rust/OpenDocumentRequest.cs

8 lines
370 B
C#
Raw Normal View History

namespace AIStudio.Tools.Rust;
/// <summary>
/// Asks the runtime to open a document in the program the system uses for it.
/// </summary>
/// <param name="Path">The document to open.</param>
/// <param name="Page">The page to show, counted from one, or null when the document has none.</param>
public readonly record struct OpenDocumentRequest(string Path, int? Page);