Class CMSBank
Provides CMS backend access services.
This class is injected via PortalHub.Instance.CMSBank
Inheritance
System.Object
CMSBank
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Wave.dll
Syntax
public class CMSBank : DaemonWithInstrumentation<IApplicationComponent>, IDaemon, IDaemonView, IApplicationComponent, INamed, ILocalizedTimeProvider, ICMSBankImplementation, ICMSBank, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
CMSBank(IApplicationComponent)
Declaration
public CMSBank(IApplicationComponent director)
Parameters
CMSBank(IApplication)
Declaration
public CMSBank(IApplication app)
Parameters
Fields
REFRESH_VERSION_INTERVAL_SEC
Declaration
public const int REFRESH_VERSION_INTERVAL_SEC = 300
Field Value
Type |
Description |
System.Int32 |
|
VERSION_HISTORY_LENGTH
Declaration
public const int VERSION_HISTORY_LENGTH = 8
Field Value
Type |
Description |
System.Int32 |
|
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ContentFileSystem
Returns file system that serves static content for portals
Declaration
public IFileSystem ContentFileSystem { get; }
Property Value
ContentFileSystemConnectParams
Declaration
public FileSystemSessionConnectParams ContentFileSystemConnectParams { get; }
Property Value
ContentFileSystemRootPath
Returns root path for the content file system
Declaration
public string ContentFileSystemRootPath { get; }
Property Value
Type |
Description |
System.String |
|
InstrumentationEnabled
Declaration
[Config(Default = false)]
[ExternalParameter(new string[]{"log", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Azos.Apps.DaemonWithInstrumentation<Azos.Apps.IApplicationComponent>.InstrumentationEnabled
LatestVersion
Declaration
public IFileSystemVersion LatestVersion { get; }
Property Value
Versions
Declaration
public IEnumerable<IFileSystemVersion> Versions { get; }
Property Value
Methods
Destructor()
Declaration
protected override void Destructor()
Overrides
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Overrides
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
GetContext(Portal, IFileSystemVersion)
Declaration
public ICMSContext GetContext(Portal portal, IFileSystemVersion version)
Parameters
Returns
GetVersionByID(Int32)
Declaration
public IFileSystemVersion GetVersionByID(int verID)
Parameters
Type |
Name |
Description |
System.Int32 |
verID |
|
Returns
Implements
System.IDisposable
Extension Methods