CODIUM Programming Language (CPL) CodiumSDK CPL Extentions MethodExtentions
July 14, 2023 at 8:30 PM
Espacio de nombres: CodiumSDK.CPL.Extentions
Ensamblado: CodiumSDK.dll
Ensamblado: CodiumSDK.dll
Class with extentions for Method Routine, like Add Parameters, Set Return, etc.
C# |
public static class MethodExtentions : System.Object |
Métodos
Nombre | Descripció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.MethodPará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.MethodParámetros
Nombre | Tipo | Descripción |
---|---|---|
method | this | |
type | CodiumSDK.CPL.CPLType | Type of return |