AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageModuleEngine..::..SiteSettings<(Of <(<'T>)>)> Method

Retrieves the domain-level site settings of the specified type, using web cache for performance.

Namespace:  AdvantageCMS.Core.Common.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public T SiteSettings<T>()
where T : BusinessObjectSiteSetting<T>

Type Parameters

T
A type that inherits from BusinessObjectSiteSetting<(Of <(<'T>)>)>.

Return Value

The site settings instance, or null if none exist.