MergeParameters Method
Definition
- Namespace
- Cuemon.Reflection
- Assemblies
- Cuemon.Core.dll
MergeParameters(params object[])
Merges the Parameters signature of this instance with the specified runtimeParameterValues.
public IDictionary<string, object> MergeParameters(params object[] runtimeParameterValues)
Parameters
runtimeParameterValuesobject[]The runtime parameter values.
Returns
- IDictionary<string, object>
An IDictionary<TKey, TValue> containing the merged result of the Parameters signature of this instance and
runtimeParameterValues.
MergeParameters(MethodDescriptor, params object[])
Merges the method parameter signature with the specified runtimeParameterValues.
public static IDictionary<string, object> MergeParameters(MethodDescriptor method, params object[] runtimeParameterValues)
Parameters
methodMethodDescriptorThe method holding the parameter signature to merge with the runtime parameter values.
runtimeParameterValuesobject[]The runtime parameter values.
Returns
- IDictionary<string, object>
An IDictionary<TKey, TValue> containing the merged result of the
methodparameter signature andruntimeParameterValues.
MergeParameters(IEnumerable<ParameterSignature>, params object[])
Merges the parameters signature with the specified runtimeParameterValues.
public static IDictionary<string, object> MergeParameters(IEnumerable<ParameterSignature> parameters, params object[] runtimeParameterValues)
Parameters
parametersIEnumerable<ParameterSignature>The parameter signature to merge with the runtime parameter values.
runtimeParameterValuesobject[]The runtime parameter values.
Returns
- IDictionary<string, object>
An IDictionary<TKey, TValue> containing the merged result of the
parameterssignature andruntimeParameterValues.