Click or drag to resize

Assert Class

Provides methods to throw an exception if an assertion is wrong.
Inheritance Hierarchy
SystemObject
  Gile.AutoCAD.R20.ExtensionAssert

Namespace:  Gile.AutoCAD.R20.Extension
Assembly:  Gile.AutoCAD.R20.Extension (in Gile.AutoCAD.R20.Extension.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static class Assert

The Assert type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsNotNullT
Throws ArgumentNullException if the object is null.
Public methodStatic memberIsNotNullOrWhiteSpace
Throws ArgumentException if the string is null or empty.
Public methodStatic memberIsNotObjectIdNull
Throws eNullObjectId if the ObjectId is null.
Top
Remarks
This class is not available for projects tageting .NET 8.0 (since AutoCAD 2025).
See Also