/// <summary> /// Check whether the specified type defines a Controller endpoint. /// </summary> /// <param name="type">Type to check.</param> /// <returns>True if the endpoint defines a Controller; false otherwise.</returns> internal static bool IsHttpEndpoint(Type type) { return(ProviderUtils.isController(type)); }