Extension methods for easing handling of proxies.
It provides some static convenience functions for proxies
public static class ProxyExtensions| 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(IDoubleVectorSetter, Double) | Set the current values, vals will be copied into current array and update that. |
| SetValues(IDoubleVectorSetter, Double, Boolean) |
Set the current values, vals will be copied into current array and update that. Overload of SetValues(IDoubleVectorSetter, Double), which only updates the elements pointed out by mask |
| 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. |