Пример #1
0
 /// <summary>
 /// Constructs an instance of the AddItem class that
 //  provides the functionality to display all content.
 /// </summary>
 public AddItem()
 {
     cst                = new ContentServiceTraversalService();
     cst.Url            = System.Configuration.ConfigurationManager.AppSettings.Get("soapServer") + "/" + "ContentServiceTraversalService";
     itemManagement     = new ItemManagementService();
     itemManagement.Url = System.Configuration.ConfigurationManager.AppSettings.Get("soapServer") + "/" + "ItemManagementService";
 }
Пример #2
0
        //Helper CS files

        //ItemManagementMenu itemManagementMenu;

        public YodleeConsoleMain()
        {
            contentServieTravelService         = new ContentServiceTraversalService();
            contentServieTravelService.Url     = System.Configuration.ConfigurationManager.AppSettings.Get("soapServer") + "/" + contentServieTravelService.GetType().FullName;
            serverVersionManagementService     = new ServerVersionManagementService();
            serverVersionManagementService.Url = System.Configuration.ConfigurationManager.AppSettings.Get("soapServer") + "/" + serverVersionManagementService.GetType().FullName;
            printVersionInfo();
            //itemManagementMenu = new ItemManagementMenu(getCobrandContext(),userContext);
        }