ProxyExtensions Class |
Extension methods for easing handling of proxies.
It provides some static convenience functions for proxies
Namespace: DHI.Mike1D.Generic
The ProxyExtensions type exposes the following members.
Name | Description | |
---|---|---|
Getter(IDoubleProxy, IQuantity) | From the proxy, return an FuncTResult for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. | |
Getter(IDoubleElementSetProxy, IQuantity, IElementSetDefinition) | From the proxy, return an IDoubleVectorGetter for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. | |
Getter(IDoubleReachProxy, IQuantity, Int32) | From the proxy, return an IVectorGetterT for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. | |
Getter(IDoubleTimeProxy, IQuantity, IQuantity) | From the proxy, return an FuncTResult for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. | |
Getter(IDoubleReachProxy, IQuantity, Int32, IQuantity) | From the proxy, return an IVectorGetterT for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. | |
Getters |
Returns a set of FuncTResult for the quantity.
We can return several quantities with the same id (usually they will differ in their description).
If the quantity is not offerent, an empty list is returned.
| |
GettersFraction |
Returns a set of FuncT, TResult for the quantity.
We can return several quantities with the same id (usually they will differ in their description).
If the quantity is not offerent, an empty list is returned.
| |
GetterUnboxed | From the proxy, return an FuncTResult for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. | |
Setter(IDoubleProxy, IQuantity) | From the proxy, return an IDoubleGetSet for the specified quantity. It returns the first quantity of that type that is accepted, and null if the quantity is not accepted. | |
Setter(IDoubleElementSetProxy, IQuantity, IElementSetDefinition) | From the proxy, return an IDoubleVectorGetSet for the specified quantity. It returns the first quantity of that type that is accepted, and null if the quantity is not accepted. | |
Setter(IDoubleReachProxy, IQuantity, Int32) | From the proxy, return an IDoubleVectorGetSet for the specified quantity. It returns the first quantity of that type that is accepted, and null if the quantity is not accepted. | |
SetValues |
Set the current values, vals will be copied into current array and update that.
| |
TimeValueGetter | From the proxy, return an FuncT, TResult for the specified quantity. It returns the first quantity of that type that is offered, and null if the quantity is not offered. |