Guard.CheckObjectFromObjectSpace(IObjectSpace, Object) Method
In This Article
Ensures that a specific object belongs to a particular Object Space.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public static void CheckObjectFromObjectSpace(
IObjectSpace objectSpace,
object obj
)
#Parameters
Name | Type | Description |
---|---|---|
object |
IObject |
An IObject |
obj | Object | An object to check. |
#Remarks
If the specified object does not belong to the specified Object Space, an exception is thrown.
See Also