public SortByColumnsFunction() : base("SortByColumns", TexlStrings.AboutSortByColumns, FunctionCategories.Table, DType.EmptyTable, 0, 2, int.MaxValue, DType.EmptyTable, DType.String) { _sortOrderValidator = ArgValidators.SortOrderValidator; // SortByColumns(source, name, order, name, order, ...name, order, ...) SignatureConstraint = new SignatureConstraint(omitStartIndex: 5, repeatSpan: 2, endNonRepeatCount: 0, repeatTopLength: 9); }
public SortFunction() : base("Sort", TexlStrings.AboutSort, FunctionCategories.Table, DType.EmptyTable, 0x02, 2, 3, DType.EmptyTable) { ScopeInfo = new FunctionScopeInfo(this); _sortOrderValidator = ArgValidators.SortOrderValidator; }