dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Model

NetworkService Class

                GeoBlazor

                Docs

            </a>
            This modules contains functions for working with network services.
            <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-networkService.html">

                ArcGIS Maps

                SDK for JavaScript

            </a>
public class NetworkService : dymaptic.GeoBlazor.Pro.Model.ProLogicComponent

Inheritance System.Object 🡒 LogicComponent 🡒 ProLogicComponent 🡒 NetworkService

Constructors

NetworkService(IAppValidator, IJSRuntime, JsModuleManager, AuthenticationManager) Constructor

                GeoBlazor

                Docs

            </a>
            This modules contains functions for working with network services.
            <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-networkService.html">

                ArcGIS Maps

                SDK for JavaScript

            </a>
public NetworkService(dymaptic.GeoBlazor.Core.IAppValidator appValidator, Microsoft.JSInterop.IJSRuntime jsRuntime, dymaptic.GeoBlazor.Core.JsModuleManager jsModuleManager, dymaptic.GeoBlazor.Core.Model.AuthenticationManager authenticationManager);

Parameters

appValidator dymaptic.GeoBlazor.Core.IAppValidator

jsRuntime Microsoft.JSInterop.IJSRuntime

jsModuleManager JsModuleManager

authenticationManager AuthenticationManager

Methods

NetworkService.FetchServiceDescription(string, string, RequestOptions, CancellationToken) Method

Retrieve a description of the network service.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Model.ServiceDescription> FetchServiceDescription(string url, string? apiKey=null, dymaptic.GeoBlazor.Core.Options.RequestOptions? requestOptions=null, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

url System.String

URL to the ArcGIS Server REST resource that represents a network analysis service.

apiKey System.String

An authorization string used to access a resource or service (see API keys).

requestOptions RequestOptions

Additional options to be used for the data request.

cancellationToken System.Threading.CancellationToken

The cancellation token to use for the operation.

Returns

System.Threading.Tasks.Task<ServiceDescription>