.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

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