AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageApiCorsPolicyProviderBase Methods

The AdvantageApiCorsPolicyProviderBase type exposes the following members.

Methods


  Name Description
Public method Dispose()()()()
Releases all resources used by the controller.
Protected method Dispose(Boolean)
Releases resources based on the disposing flag.
Public method GetCorsPolicyAsync
Returns the CORS policy that applies to the supplied request. Implementations typically build the policy from site-settings or the domain's allow-origin list.
Public method GetNavigations
Retrieves navigation items filtered by the specified selectors.
Public method SetCurrentLanguage
Sets the current language based on the given abbreviation. Clears cached engines when the language changes.
Public method SiteSettings()()()()
Gets the site settings as a dynamic object.
Public method SiteSettings<(Of <<'(T>)>>)()()()()
Gets the site settings for the specified type.