Skip to main content
A newer version of this page is available. .

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

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

Namespace: DevExpress.ExpressApp.Office

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

createObjectSpaceHandler Func<IObjectSpace>

The delegate used to create the IObjectSpace instance.

See Also