Class ContentOptions
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Contains various options that can be used to configure how content should be handled within CMS
Inheritance
Inherited Members
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[Options]
public class ContentOptions
Constructors
ContentOptions()
Declaration
public ContentOptions()
Properties
AlwaysUseModelName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Specifies if the Model name of the class always should be the name of the content type
Declaration
public bool AlwaysUseModelName { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContentCacheSlidingExpiration
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The sliding cache for how long published content is cached. Set to "0:0:0" to disable.
Declaration
public TimeSpan ContentCacheSlidingExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 12 hours
EnableDynamicProperties
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public bool EnableDynamicProperties { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableLogOfContentSave
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public bool EnableLogOfContentSave { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableModelSyncCommit
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Set to false to disable the commit phase when synchronizing typed models. Content types will not be updated automatically.
Declaration
public bool EnableModelSyncCommit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InMemoryCopyThreshold
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the threshold for when copy should be done in process memory with respect to number of content items.
Declaration
public int InMemoryCopyThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Default value is 50 content items
MaxContentsPerDatabaseRequest
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public int MaxContentsPerDatabaseRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxVersions
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The maximum number of previously publihsed versions that will be kept.
Declaration
public int MaxVersions { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Default value is 20
RemoteInvalidateVersionChanges
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public bool RemoteInvalidateVersionChanges { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StrictLanguageRouting
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public bool StrictLanguageRouting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StringCompressionThreshold
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Set to the number of characters when compression should be activated.
Declaration
public int StringCompressionThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Default value is o meaning no compression is done
StringDelayedLoadThreshold
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Set to the number of characters when delayed loading should be activated for large strings in properties deriving from Long String.
Declaration
public int StringDelayedLoadThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Default value is 255
UseStartPublishForDelayedPublishUntil
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public bool UseStartPublishForDelayedPublishUntil { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
VersionCacheSlidingExpiration
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The sliding cache for how long a content version is cached. Set to "0:0:0" to disable.
Declaration
public TimeSpan VersionCacheSlidingExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes