// Gets the method-info for the expression identifying a controller's action method.
        // The metadata attributes for the corresponding action and its defining controller
        // and found.  The names associated with these two attributes are used to determine
        // the value of the URL template when returning the resource by the formatter.
        public void SetTemplateInfo()
        {
            MethodInfo action = _action.GetCallMethodInfo();

            _link.ActionTemplateName = GetActionMetaName(action);
            _link.GroupTemplateName  = GetControllerMetaName(action.DeclaringType);
        }