C# Class SobekCM.Engine_Library.Endpoints.NavigationServices

Endpoint supports services related to basic navigation, such as resolving the URL to the Navigation_Object
Inheritance: EndpointBase
Mostra file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
ResolveUrl ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Resolve the URL to a Navigation_Object

get_navigation_object ( NameValueCollection RequestQueryString, string BaseUrl, string RequestUserLanguages, Custom_Tracer Tracer ) : Navigation_Object

Resolve the requested URL (sepecified via the base url and the query string ) into a SobekCM navigation object

Method Details

ResolveUrl() public method

Resolve the URL to a Navigation_Object
public ResolveUrl ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

get_navigation_object() public method

Resolve the requested URL (sepecified via the base url and the query string ) into a SobekCM navigation object
public get_navigation_object ( NameValueCollection RequestQueryString, string BaseUrl, string RequestUserLanguages, Custom_Tracer Tracer ) : Navigation_Object
RequestQueryString System.Collections.Specialized.NameValueCollection Query string, from the request The request query string.
BaseUrl string Base URL of the original request
RequestUserLanguages string List of user languages requested (via browser settings)
Tracer SobekCM.Tools.Custom_Tracer The tracer.
return SobekCM.Core.Navigation.Navigation_Object