public ServerHealthApp(string aHttpDirectory) { iHttpDirectory = aHttpDirectory; iPathDispatcher = new AppPathDispatcher(); iPathDispatcher.MapPath(new string[] { }, ServeAppHtml); iPathDispatcher.MapPrefixToDirectory(new string[] { }, aHttpDirectory); }
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); }