Click or drag to resize

Preconditions Methods

The Preconditions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConfValueExists
Throws if value form a config node is null or empty string.
Public methodStatic memberHasSize
Throws if collection has not the expected number of elements.
Public methodStatic memberMakeContextError(Object, String)
Makes error text with respect to the context.
Public methodStatic memberMakeContextError(Object, String, Object)
Makes error text with respect to the context.
Public methodStatic memberMinElements
Throws if collection has less elements than required.
Public methodStatic memberNotNull
Throws if value is null.
Public methodStatic memberNotNullOrEmpty
Throws if string is null or empty.
Public methodStatic memberOneOfT
Throws if enum value is not in the expected set.
Top
See Also