Click or drag to resize

SourceProxySetWrapperTSourceProxy Class

Class that wraps a number of source proxies in one proxy.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.EngineSourceProxySetWrapperTSourceProxy

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class SourceProxySetWrapper<TSourceProxy> : ISourcePointProxy
where TSourceProxy : class, ISourcePointProxy

Type Parameters

TSourceProxy
Proxy type, derived from ISourcePointProxy

The SourceProxySetWrapperTSourceProxy type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddToOffers
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 methodSourceAccepts
List of data types that is accepted for a source, i.e., that you can get a source point for.
Public methodSourcePoint
Get source point
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
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 all offers
Protected field_proxies
Source proxies
Top
Extension Methods
  NameDescription
Public Extension MethodSourcePoint

From the proxy, return an ISourcePoint 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 SourceProxyExtensions.)
Top
See Also