Click or drag to resize

DoubleProxySetWrapper Class

Class that wraps a number of double proxies in one double proxy.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericQuantityProxySetWrapperIDoubleProxy
    DHI.Mike1D.GenericDoubleProxySetWrapper

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class DoubleProxySetWrapper : QuantityProxySetWrapper<IDoubleProxy>, 
	IDoubleFractionProxy, IDoubleProxy, IQuantityProxy

The DoubleProxySetWrapper type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAccepts
List of data types that is accepted, i.e., that you can get a ValueSetter for.
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Public methodAddToAccepts
Add quantities to accept.
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Public methodAddToOffers(TQuantityProxy)
Add quantities to offers.
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Public methodAddToOffers(TQuantityProxy, IListIQuantity)
Add quantities to offers.
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Manually initialize offers and accepts data structures. Use this if AddToOffers() and AddToAccepts() is called manually instead of through BuildOffers() and BuildAccepts()
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOffers
List of data types that is offered, i.e., that you can get a ValueGetter for.
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValueFractionGetter
Get value getter for the specified data quantity. The fraction getter can interpolate within the current time step, from time N to time Np1.

If a quantity does not offer timestep interpolation, null is returned, and the ValueGetter(Int32) must be called instead.

Public methodValueGetter
Get value setter for the specified data quantity
Public methodValueSetter
Get value setter for the specified data type
Top
Fields
  NameDescription
Protected field_acceptedProxies
List of proxies and quantityIndex's for each IQuantity in the _accepts i.e., this list is synchronized with the _accepts
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Protected field_accepts
List of accepts, build by BuildAccepts
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Protected field_offeredProxies
List of proxies and quantityIndex's for each IQuantity in the _offers i.e., this list is synchronized with the _offers
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Protected field_offers
List of offers, build by BuildOffers
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Protected field_proxies
Underlying quantity procies
(Inherited from QuantityProxySetWrapperTQuantityProxy.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetter

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.

(Defined by ProxyExtensions.)
Public Extension MethodGetters
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.
(Defined by ProxyExtensions.)
Public Extension MethodGettersFraction
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.
(Defined by ProxyExtensions.)
Public Extension MethodGetterUnboxed

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.

(Defined by ProxyExtensions.)
Public Extension MethodSetter

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.

(Defined by ProxyExtensions.)
Top
See Also