Calyptus.Mvc.ApplicationPathAttribute.Initialize C# (CSharp) Method

Initialize() public method

public Initialize ( ParameterInfo parameter ) : void
parameter System.Reflection.ParameterInfo
return void
		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));
		}

Same methods

ApplicationPathAttribute::Initialize ( PropertyInfo property ) : void