csharp-sdk-upm/Engine/Attributes/LCEngineFunctionParamAttrib...

18 lines
495 B
C#

using System;
namespace LeanCloud.Engine {
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class LCEngineFunctionParamAttribute : Attribute {
public string ParamName {
get;
}
public LCEngineFunctionParamAttribute(string paramName) {
if (string.IsNullOrEmpty(paramName)) {
throw new ArgumentNullException(nameof(paramName));
}
ParamName = paramName;
}
}
}