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

GetBinder() private static method

private static GetBinder ( Type type ) : object>.Func
type System.Type
return object>.Func
		private static Func<IHttpContext, object> GetBinder(Type type)
		{
			if (type == typeof(string)) return c => c.Request.ApplicationPath;
			else return null;
		}