AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

DomainLanguageHelper..::..GetDomainFromSlug Method

Gets the domain from slug.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static Domain GetDomainFromSlug(
	SQL currentSql,
	string rawContent,
	bool loadDomainPaths
)

Parameters

currentSql
Type: AdvantageCMS.Data..::..SQL
The current SQL.
rawContent
Type: String
Content of the raw.
loadDomainPaths
Type: Boolean
if set to true [load domain paths].

Return Value

Domain.