
Espacio de nombres:
CodiumSDK.CPL.ExtentionsEnsamblado: CodiumSDK.dll

Class with extentions for Method Routine, like Add Parameters, Set Return, etc.
| C# |
| public static class MethodExtentions : System.Object |
Métodos
#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
| Nombre | Tipo | Descripción |
|---|
| method | this | |
| name | System.String | Parameter Name |
| description | System.String | Parameter Description |
| type | CodiumSDK.CPL.CPLType | Type of the Parameter |
| required | System.Boolean | Indicate 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
| Nombre | Tipo | Descripción |
|---|
| method | this | |
| type | CodiumSDK.CPL.CPLType | Type of return |