可自定义数据节点

This commit is contained in:
tanghc
2019-05-04 17:17:09 +08:00
parent a6e04b6ca4
commit 9d8891e49b
23 changed files with 515 additions and 45 deletions

View File

@@ -0,0 +1,27 @@
using System;
namespace SDKCSharp.Common
{
/// <summary>
/// 返回固定的dataName
/// </summary>
public class CustomDataNameBuilder: DataNameBuilder
{
private string dataName = "result";
public CustomDataNameBuilder()
{
}
public CustomDataNameBuilder(string dataName)
{
this.dataName = dataName;
}
public string Build(string method)
{
return dataName;
}
}
}