Click or drag to resize

QuantityProxySetWrapperTQuantityProxy Class

Class that wraps a number of quantity proxies in one proxy.
Inheritance Hierarchy

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 QuantityProxySetWrapper<TQuantityProxy> : IQuantityProxy
where TQuantityProxy : class, IQuantityProxy

Type Parameters

TQuantityProxy
Proxy type, derived from IQuantityProxy

The QuantityProxySetWrapperTQuantityProxy 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.
Public methodAddToAccepts
Add quantities to accept.
Public methodAddToOffers(TQuantityProxy)
Add quantities to offers.
Public methodAddToOffers(TQuantityProxy, IListIQuantity)
Add quantities to offers.
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()
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
Protected field_accepts
List of accepts, build by BuildAccepts
Protected field_offeredProxies
List of proxies and quantityIndex's for each IQuantity in the _offers i.e., this list is synchronized with the _offers
Protected field_offers
List of offers, build by BuildOffers
Protected field_proxies
Underlying quantity procies
Top
See Also