Method Loop Expansion Tokens
Method loop expansion tokens can be used to inject information about the method being processed into the code output stream.
Method Loop Token |
Description |
|
Custom method loop expansion tokens allow you to insert content defined by custom expansion tokens defined in a method catalog extensions file. Note that custom expansion token names are not not case sensitive, always being converted to uppercase for comparison, but that the associated values are, being inserted exactly as defined in the extensions file.
|
Inserts a Synergy {xfMethod} attribute for the current method.
|
|
If the method has an associated comment then this token inserts that comment text.
|
|
Inserts a boolean value indicating whether the current method requires over-the-wire encryption.
Possible values: True, False
|
|
Inserts the file specification of the ELB containing the current method.
|
|
Inserts the unique and case-sensitive ID of the current method.
|
|
Inserts the name of the current method.
Alternates: <method_name>, <Method_Name>, <Methood_name>, <MethodName>, <methodName>
|
|
Inserts the number of parameters that the current method has.
|
|
Inserts the coerce type associated with the current methods return value.
Possible values: None, Boolean, Byte, DateTime, DateTimeNullable, Decimal, DecimalNullable, Double, Float, Int, Long, Sbyte, Short, Uint, Ulong, Ushort
|
|
If the method return value has an associated comment then this token inserts that text.
|
|
|
Inserts the C# data type that xfNetLink .NET would use to represent the return type of the method. |
Inserts the date format associated with the method return value.
Possible values: None, YYYYMMDD, YYMMDD, YYJJJ, YYYYJJJ, HHMM, HHMMSS, YYYYMMDDHHMISS, YYYYMMDDHHMISSUUUUU
|
|
If the methods return type is defined by an ENUM then this token inserts the name of that ENUM.
|
|
If the methods return value is implied decimal, this token inserts the precision (number of digits after the decimal point), otherwise nothing is inserted.
|
|
|
Inserts sample date for the methods return value. This token is intended to be used for the generation of examples in documentation or API references. |
If the method has a return value then this token inserts the length of the returned data, otherwise nothing is inserted.
|
|
If the method has a return value then this token inserts the TypeScript compatible type of that return value.
Possible values: boolean, string, Date, Nullable<Date>, number
|
|
Inserts the return type of the current method.
Possible values: <blank string>, A<size>, D<size>, D<size>.<precision>, <enumName>, I<size>, ^VAL, STRING
Alternates: <method_return_type>
|
|
Inserts the name of the synergy routine associated with the current method.
|
|
Inserts the type of routine associated with the current method.
Possible values: SUBROUTINE, FUNCTION
Alternates: <method_type> |
Copyright © 2021 Synergex International, Inc.