Esempio n. 1
0
        public string GetProfileCatalog(string[] roles)
        {
            if (_url == "http://localhost/unexisting/no.asmx")
            {
                throw new UnexistingUrlException();
            }
            string baseDir = new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath;
            int    iFolder = baseDir.LastIndexOf('\\');

            baseDir = baseDir.Substring(0, iFolder);
            ProfileCatalog catalog = new ProfileCatalog(baseDir);

            return(catalog.GetProfileCatalog(roles));

            ;
        }
 public string GetProfileCatalog(string[] roles)
 {
     return(_proxy.GetProfileCatalog(roles));
 }