Skip to main content
All docs
V26.1
  • 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.v26.1.dll

    NuGet Package: DevExpress.ExpressApp.Office

    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