expressappframework-devexpress-dot-expressapp-dot-nonpersistentobjectspace-c7562d3d.md
Occurs when NonPersistentObjectSpace creates a collection of non-persistent objects.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public event EventHandler<ObjectsGettingEventArgs> ObjectsGetting
Public Event ObjectsGetting As EventHandler(Of ObjectsGettingEventArgs)
The ObjectsGetting event's data class is DevExpress.ExpressApp.ObjectsGettingEventArgs.
Handle this event to supply non-persistent objects for NonPersistentObjectSpace. You can find examples on using the ObjectsGetting event in the following topics:
The following code snippets (auto-collected from DevExpress Examples) contain references to the ObjectsGetting event.
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.
this.objectSpace = npos;
objectSpace.ObjectsGetting += ObjectSpace_ObjectsGetting;
}
this.objectMap = new Dictionary<Guid, LiveSummary>();
objectSpace.ObjectsGetting += ObjectSpace_ObjectsGetting;
objectSpace.ObjectByKeyGetting += ObjectSpace_ObjectByKeyGetting;
this._objectSpace = npos;
_objectSpace.ObjectsGetting += ObjectSpace_ObjectsGetting;
_objectSpace.ObjectGetting += ObjectSpace_ObjectGetting;
this.objectMap = objectMap;
objectSpace.ObjectsGetting += ObjectSpace_ObjectsGetting;
objectSpace.ObjectGetting += ObjectSpace_ObjectGetting;
Me.objectMap = objectMap
AddHandler objectSpace.ObjectsGetting, AddressOf ObjectSpace_ObjectsGetting
AddHandler objectSpace.ObjectGetting, AddressOf ObjectSpace_ObjectGetting
See Also
NonPersistentObjectSpace Class