Table of Contents

Method EditTextAsync

Namespace
Oscova.Agents.Plugins
Assembly
Oscova.Agents.dll

EditTextAsync(string, Func<Task<string>>, Func<string, Task>, string?)

Opens the existing text editor using the supplied load and save callbacks.

Task<bool> EditTextAsync(string title, Func<Task<string>> load, Func<string, Task> save, string? helpTopic = null)

Parameters

title string
load Func<Task<string>>
save Func<string, Task>
helpTopic string?

Returns

Task<bool>