AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSDomainEngine Members

The CMSDomainEngine type exposes the following members.

Constructors


  Name Description
Public method CMSDomainEngine(SQL, CMSUser, Int32, Int32)
Required constructor for updating data/objects

Methods


  Name Description
Protected method addEngineArgs
Adds the engine arguments.
(Inherited from CMSEngineBase.)
Public method CreateEvent(String, String, eCMSEngineEventStatus, String, List<(Of <<'(EngineEventArgs>)>>))
Creates the event.
(Inherited from CMSEngineBase.)
Public method CreateEvent(String, String, eCMSEngineEventStatus, List<(Of <<'(EngineEventArgs>)>>))
Creates the event.
(Inherited from CMSEngineBase.)
Protected method Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from CMSEngineBase.)
Public method Dispose()()()()
Disposes this instance.
(Inherited from CMSEngineBase.)
Public method GetDomainByID(Int32, Boolean)
Returns a request-scoped clone of the domain with the given Id. DomainPaths are always populated on the cached entries; the loadDomainPaths parameter is retained for source compatibility and is now a no-op.
Public method GetDomainByPath
Find a domain by the URL host or application path. Walks the cached domain list looking for an active DomainPath whose Path matches (case-insensitive). When the cached list has no match, performs a targeted SP_CORE_Domain_GetByPath call to detect paths added to the database since the cache was loaded; on a successful SP match the all-domains cache is rebuilt under _domainCacheLoadLock()()()() so subsequent lookups hit the in-memory list. If the SP also reports no match, falls back to the first active domain by DomainID, then to the first domain by DomainID — mirroring the legacy sp_CORE_Domain_GetByPath behavior. The returned Domain is a per-request clone — safe to mutate.
Protected method RaiseEngineEvent
Raises the engine event.

Properties


  Name Description
Public property CurrentSql
Gets the current SQL.
(Inherited from CMSEngineBase.)
Public property CurrentUser
Gets the current user.
(Inherited from CMSEngineBase.)
Public property DomainId
Gets the domain identifier.
(Inherited from CMSEngineBase.)
Protected property Engine
Gets the engine.
Public property LanguageId
Gets the language identifier.
(Inherited from CMSEngineBase.)
Public property LastException
Gets or sets the last exception.
(Inherited from CMSEngineBase.)

Events


  Name Description
Public event EngineEventArgs
Occurs when [engine event arguments].