SourceProxySetWrapperTSourceProxy Class |
Namespace: DHI.Mike1D.Engine
public class SourceProxySetWrapper<TSourceProxy> : ISourcePointProxy where TSourceProxy : class, ISourcePointProxy
The SourceProxySetWrapperTSourceProxy type exposes the following members.
Name | Description | |
---|---|---|
SourceProxySetWrapperTSourceProxy |
Protected constructor. If using this, remember to initialize the _proxies
member variable.
| |
SourceProxySetWrapperTSourceProxy(IEnumerableTSourceProxy) |
Create a proxy set wrapper that wraps the provided set of proxies
into one proxy
|
Name | Description | |
---|---|---|
AddToOffers |
Add quantities to offers.
| |
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()
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SourceAccepts |
List of data types that is accepted for a source, i.e., that you can get a source point for.
| |
SourcePoint |
Get source point
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
_offeredProxies |
List of proxies and quantityIndex's for each IQuantity in the _offers
i.e., this list is synchronized with the _offers
| |
_offers |
List of all offers
| |
_proxies |
Source proxies
|
Name | Description | |
---|---|---|
SourcePoint | 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. |