The requested page is not available for the requested platform. You are viewing the content for Default platform.

InMemoryCodeCompletionContextStorage Class

An in-memory storage for the local code completion engine.

Namespace: DevExpress.XtraReports.CodeCompletion.Storages

Assembly: DevExpress.XtraReports.v19.1.CodeCompletion.dll

Declaration

public class InMemoryCodeCompletionContextStorage :
    ICodeCompletionContextStorage
Public Class InMemoryCodeCompletionContextStorage
    Implements ICodeCompletionContextStorage

Remarks

For End-User Report Designers, you can activate the local code completion engine that works without an Internet connection. Install the DevExpress.Reporting.CodeCompletion NuGet package and call the CodeCompletionRequestManager.UseLocalEngine method at the application startup.

This local engine requires a storage for report layouts.

You can use the predefined InMemoryCodeCompletionContextStorage class to store report layouts in memory. Call the UseLocalEngine() method without parameters at the application startup to register this storage automatically.

DevExpress.XtraReports.CodeCompletion.CodeCompletionRequestManager.UseLocalEngine();

Alternatively, you can directly pass this class instance to the UseLocalEngine(ICodeCompletionContextStorage) method overload.

using DevExpress.XtraReports.CodeCompletion;
using DevExpress.XtraReports.CodeCompletion.Storages;

CodeCompletionRequestManager.UseLocalEngine(new InMemoryCodeCompletionContextStorage());

You can also use a file storage (the FileCodeCompletionContextStorage class) or implement the ICodeCompletionContextStorage interface to provide your custom storage.

See the Scripts Overview topic for more information.

Inheritance

Object
InMemoryCodeCompletionContextStorage
See Also