AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

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

Retrieves the published domain-level site settings of the specified type. Returns a new default instance if no published settings are found.

Namespace:  AdvantageCMS.Core.Common.BaseClasses.Handler
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 first published site settings instance, or a new default instance of T.