Assertion Class

Defines an assertion by the method it failed in and the messages it provided.
Inheritance Hierarchy
SystemObject
  Tekla.StructuresAssertion

Namespace:  Tekla.Structures
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Syntax
public class Assertion

The Assertion type exposes the following members.

Constructors
  NameDescription
Public methodAssertion
Initializes a new instance of the Assertion class.
Top
Properties
  NameDescription
Public propertyDetailedMessage
Gets the detailed message provided by the assertion.
Public propertyMessage
Gets the message provided by the assertion.
Public propertyMethodName
Gets the name of the method the assertion failed in.
Top
Methods
  NameDescription
Public methodEquals
The equals.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Gets a hash code for this instance. Calculated as recommended at http://msdn.microsoft.com/en-us/library/system.object.gethashcode.aspx
(Overrides ObjectGetHashCode.)
Public methodToString
The tostring.
(Overrides ObjectToString.)
Top
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next