You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
497 B
27 lines
497 B
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;
|
|
}
|
|
}
|
|
}
|
|
|