Click or drag to resize

CodeMethod Methods

The CodeMethod type exposes the following members.

Methods
  NameDescription
Public methodClone
Shallow copy Owner, replaced in CodeMethodAction.Clone()
Public methodGetChangeMessage
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
Public methodGetParamChangeMessages
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
Public methodGetParamDataTypesStr
Add all parameters data type ids of the method to the returning string
Public methodStatic memberGetParameterInfoDataType
Public methodStatic memberGetParameterInfoDirection
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
Public methodStatic memberGetParameterInfoString
Returns a commasep. string with the parameters of a method. The parametersInfos can be obtained using MethodInfo.GetParameters().
Public methodPassesFilter
Public methodToString (Overrides ObjectToString.)
Public methodValidateParameters
Validates parameters info (from method info) against the code method parameters of the code method
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithId.GetId
Top
See Also