StauffConsulting.Essentials.| C#: |
public sealed abstract class Require :
object
|
| VB: |
Public NotInheritable MustInherit Class Require
Inherits Object
|
| Type Ancestry: | Object |
Condition |
Throws an assertion if the given condition is false. |
Condition |
Throws an assertion if the given condition is false. |
NotNothing |
Throws an assertion if the given object reference is null. |
NotNothing |
Throws an assertion if the given object reference is null. |
NotNull |
Throws an assertion if the given object reference is null. |
NotNull |
Throws an assertion if the given object reference is null. |
| C#: |
static Void Condition(bool b)
|
| VB: |
Shared Function Condition(ByVal b As Boolean) As Void
|
Parameters
b | The condition. |
| C#: |
static Void Condition(bool b,
string descr)
|
| VB: |
Shared Function Condition(ByVal b As Boolean, ByVal descr As String) As Void
|
Parameters
b | The condition. |
descr |
| C#: |
static Void NotNothing(object obj,
string why)
|
| VB: |
Shared Function NotNothing(ByVal obj As Object, ByVal why As String) As Void
|
Parameters
obj | |
why |
| C#: |
static Void NotNothing(object obj)
|
| VB: |
Shared Function NotNothing(ByVal obj As Object) As Void
|
Parameters
obj |
| C#: |
static Void NotNull(object obj)
|
| VB: |
Shared Function NotNull(ByVal obj As Object) As Void
|
Parameters
obj |
| C#: |
static Void NotNull(object obj,
string why)
|
| VB: |
Shared Function NotNull(ByVal obj As Object, ByVal why As String) As Void
|
Parameters
obj | |
why |