Click or drag to resize

ProxyExtensions Class

Extension methods for easing handling of proxies.

It provides some static convenience functions for proxies

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericProxyExtensions

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static class ProxyExtensions

The ProxyExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetter(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.

Public methodStatic memberGetter(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.

Public methodStatic memberGetter(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.

Public methodStatic memberGetter(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.

Public methodStatic memberGetter(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.

Public methodStatic memberGetters
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.
Public methodStatic memberGettersFraction
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.
Public methodStatic memberGetterUnboxed

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.

Public methodStatic memberSetter(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.

Public methodStatic memberSetter(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.

Public methodStatic memberSetter(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.

Public methodStatic memberSetValues
Set the current values, vals will be copied into current array and update that.
Public methodStatic memberTimeValueGetter

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.

Top
See Also