DoubleProxySetWrapper Class

Class that wraps a number of double proxies in one double proxy.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class DoubleProxySetWrapper : QuantityProxySetWrapper<IDoubleProxy>, 
	IDoubleFractionProxy, IDoubleProxy, IQuantityProxy
Inheritance
Object    QuantityProxySetWrapperIDoubleProxy    DoubleProxySetWrapper
Implements
IDoubleFractionProxy, IDoubleProxy, IQuantityProxy

Constructors

DoubleProxySetWrapper Protected constructor. If using this, remember to initialize the _proxies member variable.
DoubleProxySetWrapper(IEnumerableIDoubleProxy) Create a proxy set wrapper that wraps the provided set of proxies into one proxy

Methods

Accepts List of data types that is accepted, i.e., that you can get a ValueSetter for.
(Inherited from QuantityProxySetWrapperTQuantityProxy)
AddToAccepts Add quantities to accept.
(Inherited from QuantityProxySetWrapperTQuantityProxy)
AddToOffers(TQuantityProxy) Add quantities to offers.
(Inherited from QuantityProxySetWrapperTQuantityProxy)
AddToOffers(TQuantityProxy, IQuantity) Add quantities to offers.
(Inherited from QuantityProxySetWrapperTQuantityProxy)
AddToOffers(TQuantityProxy, IListIQuantity) Add quantities to offers.
(Inherited from QuantityProxySetWrapperTQuantityProxy)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize 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)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Offers List of data types that is offered, i.e., that you can get a ValueGetter for.
(Inherited from QuantityProxySetWrapperTQuantityProxy)
ToStringReturns a string that represents the current object.
(Inherited from Object)
ValueFractionGetter 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.

ValueGetter Get value setter for the specified data quantity
ValueSetter Get value setter for the specified data type

Fields

_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)
_accepts List of accepts, build by BuildAccepts
(Inherited from QuantityProxySetWrapperTQuantityProxy)
_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)
_offers List of offers, build by BuildOffers
(Inherited from QuantityProxySetWrapperTQuantityProxy)
_proxies Underlying quantity procies
(Inherited from QuantityProxySetWrapperTQuantityProxy)

Extension Methods

Getter

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)
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.
(Defined by ProxyExtensions)
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.
(Defined by ProxyExtensions)
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.


(Defined by ProxyExtensions)
Setter

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)

See Also