Skip to main content
.NET 6.0+

InplaceDocumentCacheStorageBase.EnsureCache(Type, Func<IObjectSpace>) Method

Checks whether the in-place document cache is initialized. If not, initializes the cache.

Namespace: DevExpress.ExpressApp.Office

Assembly: DevExpress.ExpressApp.Office.v24.1.dll

Declaration

public virtual void EnsureCache(
    Type mailMergeDataType,
    Func<IObjectSpace> createObjectSpaceHandler
)

Parameters

Name Type Description
mailMergeDataType Type

The mail merge template type specified in the OfficeModule.RichTextMailMergeDataType property.

createObjectSpaceHandler Func<IObjectSpace>

The delegate to create the IObjectSpace instance.

See Also