Espacio de nombres: CodiumSDK.CPL.Extentions
Ensamblado: CodiumSDK.dll

Class with extentions for Method Routine, like Add Parameters, Set Return, etc.
C#
public static class MethodExtentions : System.Object

Métodos

NombreDescripción
AddParameter(name, description, type, required)Add Parameter to the Method
SetReturn(type)Set the Return Type of the Method

AddParameter(method, name, description, type, required)

Add Parameter to the Method
C#
public CodiumSDK.CPL.Routines.Method AddParameter(this CodiumSDK.CPL.Routines.Method method, System.String name, System.String description, CodiumSDK.CPL.CPLType type, System.Boolean required);

Regresa

CodiumSDK.CPL.Routines.Method

Parámetros

NombreTipoDescripción
methodthis
nameSystem.StringParameter Name
descriptionSystem.StringParameter Description
typeCodiumSDK.CPL.CPLTypeType of the Parameter
requiredSystem.BooleanIndicate is Required the Parameter

SetReturn(method, type)

Set the Return Type of the Method
C#
public CodiumSDK.CPL.Routines.Method SetReturn(this CodiumSDK.CPL.Routines.Method method, CodiumSDK.CPL.CPLType type);

Regresa

CodiumSDK.CPL.Routines.Method

Parámetros

NombreTipoDescripción
methodthis
typeCodiumSDK.CPL.CPLTypeType of return