Cake.Web.Controllers.ApiController.Type C# (CSharp) Метод

Type() публичный Метод

public Type ( string namespaceId, string typeId ) : System.Web.Mvc.ActionResult
namespaceId string
typeId string
Результат System.Web.Mvc.ActionResult
        public ActionResult Type(string namespaceId, string typeId)
        {
            DocumentedType type;
            if (!_router.TryFindTypeFromRoutePart(typeId, out type))
            {
                return HttpNotFound($"Type not found, namespaceId: {namespaceId}, typeId: {typeId}");
            }
            return View(new TypeViewModel(type));
        }