Interface INetworkEvaluator
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that specify the properties of an attribute evaluator in a network dataset.
[Guid("0FCB88F9-8B17-4ED8-99C7-C876F5DA8B7E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INetworkEvaluator
Remarks
The INetworkEvaluator interface is used to access the properties of the network evaluator, such as its name.
To access the evaluator object for an existing evaluator assigned to a network dataset attribute, use the Evaluator or DefaultEvaluatormethods on the IEvaluatedNetworkAttribute interface.
Properties
CacheAttribute
Indicates if this evaluator's values should be computed and stored when the network is built or computed at run time and never stored.
bool CacheAttribute { get; }
Property Value
Remarks
The CacheAttribute property determines whether the values computed by this evaluator are stored in the logical network of the network dataset.
If the CacheAttribute property is set to True, then the attribute values are computed by the evaluator only when the network is built. The computed attribute values are then stored in the logical network. When a client queries for attribute values (such as during a network analysis), the attribute values are retrieved from the logical network.
If the CacheAttribute property is set to False, then the attribute values are computed by the evaluator whenever any client asks for an attribute value (such as during a network analysis). The computed attribute values are not stored in the logical network. Depending on the complexity of the evaluator, this operation can be much slower than looking up values stored in the logical network.
Data
The data used by this network evaluator for custom properties.
IPropertySet Data { get; set; }
Property Value
DisplayName
Name displayed in the user interface for this network evaluator.
string DisplayName { get; }
Property Value
Remarks
The DisplayName is the name for the evaluator that will be displayed in the Type column of the Evaluators dialog in ArcCatalog.
Name
Unique name of this network evaluator.
string Name { get; }
Property Value
RequiredFieldNames
Required fields of this network evaluator.
IStringArray RequiredFieldNames { get; }
Property Value
Methods
IsTimeAware()
Indicates if this evaluator supports time aware queries
bool IsTimeAware()