Enumerates provider inputs in this collection./
Namespace: WaterSimDCDCAssembly: WaterSimDCDC_API (in WaterSimDCDC_API.dll) Version: 5.0.0.10 (5.0.0.10)
Syntax
C# |
---|
public IEnumerable<ModelParameterClass> ProviderInputs() |
Visual Basic |
---|
Public Function ProviderInputs As IEnumerable(Of ModelParameterClass) |
Return Value
An enumerator that allows foreach to be used to process provider inputs in this collection.Examples
CopyC#
bool SetOrFail(ProviderIntArray values) { bool test = true; foreach (eProvider ep in ProviderClass.providers()) foreach (ModelParameterClass MP in ProviderOutputs()) if (MP.isProviderValueInRange(values[ep], ep)) MP.Value = values[ep]; else { test = false; break; } return test; }