[]
        
立即下载
(Showing Draft Content)

GrapeCity.Forguncy.Plugin.IMCPReference

接口 IMCPReference

MCP服务引用接口

命名空间: GrapeCity.Forguncy.Plugin
程序集: GrapeCity.Forguncy.Plugin.dll
语法
public interface IMCPReference

方法

EnumMCPServiceNames()

获取所有引用的MCP服务名称

声明
IEnumerable<string> EnumMCPServiceNames()
返回值
类型 描述
System.Collections.Generic.IEnumerable<T><string>

RenameMCPReference(string, string)

重命名MCP服务引用

声明
void RenameMCPReference(string oldName, string newName)
参数
类型 名称 描述
string oldName

重命名之前的MCP服务名称

string newName

重命名之后的MCP服务名称