Пример #1
0
 public ServerHealthApp(string aHttpDirectory)
 {
     iHttpDirectory = aHttpDirectory;
     iPathDispatcher = new AppPathDispatcher();
     iPathDispatcher.MapPath(new string[] { }, ServeAppHtml);
     iPathDispatcher.MapPrefixToDirectory(new string[] { }, aHttpDirectory);
 }
Пример #2
0
 public LoginApp(UserList aUserList, string aHttpDirectory)
 {
     iUserList = aUserList;
     iHttpDirectory = aHttpDirectory;
     iUserList.Updated += OnUserListUpdated;
     iUrlDispatcher = new AppPathDispatcher();
     iUrlDispatcher.MapPath( new string[] { }, ServeAppHtml);
     iUrlDispatcher.MapPrefixToDirectory(new string[] { }, aHttpDirectory);
 }