Skip to main content
.NET Framework 4.6.2+

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.2.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