接口 IOpenAIWindow
命名空间: GrapeCity.Forguncy.Plugin
程序集: GrapeCity.Forguncy.Plugin.Design.dll
语法
public interface IOpenAIWindow
属性
ExecuteActionFunc
声明
Func<IOpenAIWindow, AIActionEventArgs, Task<object>> ExecuteActionFunc { get; set; }
属性值
方法
AIResponseAsync(AIResponseEventArgs)
声明
Task AIResponseAsync(AIResponseEventArgs args)
参数
返回值
类型 |
描述 |
System.Threading.Tasks.Task |
|
ExecuteScriptAsync(string, object)
声明
Task ExecuteScriptAsync(string funcName, object paramObj)
参数
类型 |
名称 |
描述 |
string |
funcName |
|
object |
paramObj |
|
返回值
类型 |
描述 |
System.Threading.Tasks.Task |
|
HiddenLoadingAsync()
声明
Task HiddenLoadingAsync()
返回值
类型 |
描述 |
System.Threading.Tasks.Task |
|
Show()
声明
ShowConfirmDialogAsync(string, string)
声明
Task ShowConfirmDialogAsync(string message, string action)
参数
类型 |
名称 |
描述 |
string |
message |
|
string |
action |
|
返回值
类型 |
描述 |
System.Threading.Tasks.Task |
|
ShowDialog()
声明
返回值
ShowLoadingAsync(string, bool)
声明
Task ShowLoadingAsync(string tip, bool fullscreen = true)
参数
类型 |
名称 |
描述 |
string |
tip |
|
bool |
fullscreen |
|
返回值
类型 |
描述 |
System.Threading.Tasks.Task |
|
ShowResultDialogAsync(bool, string)
声明
Task ShowResultDialogAsync(bool success, string message)
参数
类型 |
名称 |
描述 |
bool |
success |
|
string |
message |
|
返回值
类型 |
描述 |
System.Threading.Tasks.Task |
|
事件
OpenAIResponsed
声明
event EventHandler<AIResponseEventArgs> OpenAIResponsed
事件类型