AbstractSourceBoundaryValidateItems Method

Validate _iItems of BoundarySource

Definition

Namespace: DHI.Mike1D.BoundaryModule
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
protected void ValidateItems(
	ref IDiagnostics diagnostics,
	bool hasMainItem,
	bool mustHaveItems
)

Parameters

diagnostics  IDiagnostics
IDiagnostics to put issues into
hasMainItem  Boolean
mustHaveItems  Boolean
Flag indicating if items must be present (error), or if the boundary also works without items (warning).

Open boundaries typically must have items. Point sources without items will work, they will just have no effect.

See Also