Generic method for creating predicate function calls.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function CreatePredFunctionCall( _ ByVal opt_code As Integer, _ ByVal ParamArray func_args As NetricsPredicate() _ ) As NetricsPredicate |
C# |
---|
public static NetricsPredicate CreatePredFunctionCall( int opt_code, params NetricsPredicate[] func_args ) |
C++ |
---|
public: static NetricsPredicate CreatePredFunctionCall( int opt_code, ... array<NetricsPredicate>^ func_args ) |
J# |
---|
public static NetricsPredicate CreatePredFunctionCall( int opt_code, NetricsPredicate[] func_args ) |
JScript |
---|
public static
function CreatePredFunctionCall( opt_code : int, ParamArrayAttribute func_args : NetricsPredicate[] ) : NetricsPredicate |
Parameters
- opt_code
- The operation code identifying the function to be called. The codes are defined in NetricsPredicate.
- func_args
- The arguments for the function.
Remarks
This method is a generic method for creating a predicate expression function call. A predicate function is a unary operator that accepts a special arguments list value. Argument lists are created using a special unary operator to create the list with one item, and a binary operator that appends an argument to the list. But it is never necessary to create argument list manually, this method takes care of creating an argument list and calling the function with it.
In fact it should not be necessary to use this method as special purpose methods are available for each predicate function.