示例#1
0
        protected void ResolveParameterTypes(bool set = false)
        {
            Type[] parameters = null;

            methodParameters = bindingSettings.ToBindingMethodParameters();
            parameters       = methodParameters.Parameters;
            parameters[1]    = parameters[1].ToDelegateType();
        }
示例#2
0
        protected virtual MethodParameters ResolveParameterTypes(bool set = false)
        {
            Type[] parameters       = null;
            var    methodParameters = bindingSettings.ToBindingMethodParameters();

            if (!set)
            {
                return(methodParameters);
            }

            parameters = new Type[methodParameters.Parameters.Length + 1];
            methodParameters.Parameters.CopyTo(parameters, 0);
            parameters[methodParameters.Parameters.Length] = property.PropertyType;
            methodParameters.Parameters = parameters;

            return(methodParameters);
        }
 protected virtual MethodParameters ResolveParameterTypes()
 {
     return(bindingSettings.ToBindingMethodParameters());
 }