Exemplo n.º 1
0
 public ArrayLookupNavigator(LookupDirection direction, LookupArguments arguments, ParsingContext parsingContext)
     : base(direction, arguments, parsingContext)
 {
     Require.That(arguments).Named("arguments").IsNotNull();
     Require.That(arguments.DataArray).Named("arguments.DataArray").IsNotNull();
     _arrayData = arguments.DataArray.ToArray();
     Initialize();
 }
Exemplo n.º 2
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());
 }