EmptyDoubleProxy Class

Default empty proxy. Use Instance to get hold of one

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 EmptyDoubleProxy : IDoubleFractionProxy, 
	IDoubleProxy, IQuantityProxy
Inheritance
Object    EmptyDoubleProxy
Derived
Implements
IDoubleFractionProxy, IDoubleProxy, IQuantityProxy

Constructors

EmptyDoubleProxy Protected constructor, such that a user cannot create one. Use Instance to get one of these

Methods

Accepts List of data types that is accepted, i.e., that you can get a ValueSetter for.
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)
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.
ToStringReturns a string that represents the current object.
(Inherited from Object)
ValueFractionGetter 
ValueGetter Get value setter for the specified data quantity
ValueSetter Get value setter for the specified data type

Fields

Instance The static instance of the EmptyDoubleProxy

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