Network Analyst routing
ArcGIS_Routing_CSharp\App_Code\IBaseRouteFinderPage.cs
// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 



using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ESRI.ArcGIS.Server.Web.NetworkAnalyst;

namespace RouteFinder
{
  public interface IBaseRouteFinderPage
  {
    NetworkAnalystRouteResult SolveRoute(double fromX, double fromY, double toX, double toY, string fromAddress, string toAddress);

    void DisplayDirections(NetworkAnalystRouteResult result, string fromAdd, string toAdd);

  }
}