Table of Contents

Interface IReadOnlyModeProvider

Namespace
CMS.Base
Assembly
CMS.Base.dll

Provides access to read-only mode configuration.

public interface IReadOnlyModeProvider
Extension Methods

Properties

IsReadOnly

Gets a value indicating whether the application is in read-only mode.

bool IsReadOnly { get; }

Property Value

bool

VersioningTimestamp

The timestamp for blob version retrieval. If read-only mode is enabled, this timestamp is used to retrieve the newest version that is strictly older than this timestamp.

DateTime? VersioningTimestamp { get; }

Property Value

DateTime?

Methods

ThrowIfReadOnly()

Throws ReadOnlyModeException if the application is in read-only mode.

void ThrowIfReadOnly()

Exceptions

ReadOnlyModeException

Thrown when the application is in read-only mode.