expressappframework-devexpress-dot-expressapp-dot-modulebase-dot-extendmodelinterfaces-x28-devexpress-dot-expressapp-dot-model-dot-modelinterfaceextenders-x29.md
Extends the Application Model.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public virtual void ExtendModelInterfaces(
ModelInterfaceExtenders extenders
)
Public Overridable Sub ExtendModelInterfaces(
extenders As ModelInterfaceExtenders
)
| Name | Type | Description |
|---|---|---|
| extenders | DevExpress.ExpressApp.Model.ModelInterfaceExtenders |
A ModelInterfaceExtenders object that is a collection of Application Model interface extenders.
|
For details on how to extend the Application Model, refer to the Extend and Customize the Application Model in Code topic.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ExtendModelInterfaces(ModelInterfaceExtenders) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
base.ExtendModelInterfaces(extenders);
extenders.Add<IModelListView, IModelListViewAdditionalCriteria>();
xaf-how-to-extend-the-application-model/CS/EFCore/ExtendModelEF/ExtendModelEF.Module/Module.cs#L33
public override void ExtendModelInterfaces(ModelInterfaceExtenders extenders) {
base.ExtendModelInterfaces(extenders);
extenders.Add<IModelListView, IModelListViewExtender>();
public override void ExtendModelInterfaces(DevExpress.ExpressApp.Model.ModelInterfaceExtenders extenders) {
base.ExtendModelInterfaces(extenders);
extenders.Add<IModelMember, IRemovedFromViewModel>();
See Also