private void AppendFunction(StringBuilder result)
 {
     if (_function != null)
     {
         result.Append("_" + _function.GetType().Name);
     }
 }
 public FunctionDocumentation(string libName, ResourceKeyStack messagePath, IFunctionDefinition func)
 {
     _libName = libName;
     _name = func.Name;
     _arguments = func.Arguments;
     _returnType = func.ReturnType;
     _messagePath = messagePath.BranchFor(func);
     _description=_messagePath.Description;
     _category = CategoryHelper.GetCategory(func.GetType());
 }
Beispiel #3
0
 public FunctionDocumentation(string libName, ResourceKeyStack messagePath, IFunctionDefinition func)
 {
     _libName     = libName;
     _name        = func.Name;
     _arguments   = func.Arguments;
     _returnType  = func.ReturnType;
     _messagePath = messagePath.BranchFor(func);
     _description = _messagePath.Description;
     _category    = CategoryHelper.GetCategory(func.GetType());
 }