Constructor BooleanFieldSampleFunction
BooleanFieldSampleFunction(BooleanFieldFunction, MapPoint?)
Initializes a new instance of the BooleanFieldSampleFunction class.
Declaration
public BooleanFieldSampleFunction(BooleanFieldFunction field, MapPoint? position = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BooleanFieldFunction | field | A function that returns the BooleanField to sample. |
| MapPoint | position | The position at which to sample the BooleanField. |
Remarks
EvaluateAsync(CancellationToken) fails if Position is
null. However, creating a BooleanFieldSampleFunction with no position can be useful in an interactive
or dynamic analysis. A null initial position lets you define an interactive or dynamic analysis before its
position is available. You can then defer evaluation until a position has been populated.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300.2 |
| .NET Windows | 300.2 |
| .NET Android | 300.2 |
| .NET iOS | 300.2 |