Calyptus.Mvc.ResponseAttribute.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 context type. ContextAttribute can't bind to type '{0}'.", parameter.ParameterType.Name));
		}

Same methods

ResponseAttribute::Initialize ( PropertyInfo property ) : void