CodeMethod Methods |
The CodeMethod type exposes the following members.
| Name | Description | |
|---|---|---|
| Clone |
Shallow copy Owner, replaced in CodeMethodAction.Clone()
| |
| GetChangeMessage |
Check if there is any change in class or method or parameters (if checkParameters == true)
of the code method against its codeAssembly
if there is any change, UserMessages.Count > 0
| |
| GetParamChangeMessages |
Pre: parameterInfos must be a valid ParameterInfo array list
Check whether there is any change in the method parameters:
- new parameter(s) being added, and/or
- dataType or direction changed and/or
- exist parameter(s) removed
UserMessages.Count > 0
| |
| GetParamDataTypesStr |
Add all parameters data type ids of the method to the returning string
| |
| GetParameterInfoDataType | ||
| GetParameterInfoDirection |
returns Direction.Out, if parameterInfo is an out parameter type
returns Direction.In/Out, if parameterInfo is a reference parameter type
returns Direction.In, if parameterInfo is neither of the above types
| |
| GetParameterInfoString |
Returns a commasep. string with the parameters of a method.
The parametersInfos can be obtained using MethodInfo.GetParameters().
| |
| PassesFilter | ||
| ToString | (Overrides ObjectToString.) | |
| ValidateParameters |
Validates parameters info (from method info) against the code method parameters of the code method
|
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IObjectWithId.GetId |