public void Initialize(ParameterInfo parameter)
{
binder = GetBinder(parameter.ParameterType);
if (binder == null) throw new BindingException(String.Format("Invalid application path type. ApplicationPathAttribute can't bind to type '{0}'. Try using string.", parameter.ParameterType.Name));
}