Skip to main content
All docs
V18.2

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

Checks whether the in-place documents cache is initialized, and initialize it if not.

Namespace: DevExpress.ExpressApp.Office.Win

Assembly: DevExpress.ExpressApp.Office.Win.v18.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 OfficeWindowsFormsModule.RichTextMailMergeDataType property.

createObjectSpaceHandler Func<IObjectSpace>

The delegate used to create the IObjectSpace instance.

See Also