DoubleProxySetWrapper Class |
Namespace: DHI.Mike1D.Generic
The DoubleProxySetWrapper type exposes the following members.
Name | Description | |
---|---|---|
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
|
Name | Description | |
---|---|---|
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, IListIQuantity) |
Add quantities to offers.
(Inherited from QuantityProxySetWrapperTQuantityProxy.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets 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.) | |
MemberwiseClone | Creates 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.) | |
ToString | Returns 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
|
Name | Description | |
---|---|---|
_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.) |
Name | Description | |
---|---|---|
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. | |
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. | |
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. |