Mike1DControllerLoad(IConnection) Method

Creates a Mike1DController and loads the setup. The setup is loaded with all default parameters.

In case of errors when loading the setup, a Mike1DException is thrown. Errors can be examined by extracting the IDiagnostics object stored in Data using string key "Diagnostics".

Definition

Namespace: DHI.Mike1D.Mike1DDataAccess
Assembly: DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static Mike1DController Load(
	IConnection connection
)

Parameters

connection  IConnection
Connection of file to load

Return Value

Mike1DController
A new controller, with populated Mike1DData

See Also