Click or drag to resize

PropertyPackageInitialize Method

Initially, this method was only present in the ICapeUnit interface. Since ICapeUtilities.Initialize is now available for any kind of PMC, ICapeUnit. Initialize is deprecated. The PME will order the PMC to get initialized through this method. Any initialisation that could fail must be placed here. Initialize is guaranteed to be the first method called by the client (except low level methods such as class constructors or initialization persistence methods). Initialize has to be called once when the PMC is instantiated in a particular flowsheet. When the initialization fails, before signalling an error, the PMC must free all the resources that were allocated before the failure occurred. When the PME receives this error, it may not use the PMC anymore. The method terminate of the current interface must not either be called. Hence, the PME may only release the PMC through the middleware native mechanisms.

Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.4.5.0
Syntax
public virtual void Initialize()
Request Example View Source

Implements

ICapeUtilities.Initialize
See Also