No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

42 líneas
882B

  1. <%
  2. Class HomeController
  3. Private m_App
  4. Public Sub Init(ByRef app, ByRef routeParams)
  5. Set m_App = app
  6. End Sub
  7. Public Sub Execute()
  8. ' Nothing to prepare beyond what App already exposes.
  9. End Sub
  10. Public Property Get App()
  11. Set App = m_App
  12. End Property
  13. Public Property Get ServiceSummary()
  14. Dim serviceNames
  15. Dim output
  16. Dim index
  17. serviceNames = m_App.ServiceNames()
  18. If UBound(serviceNames) < 0 Then
  19. ServiceSummary = "None"
  20. Exit Property
  21. End If
  22. output = ""
  23. For index = 0 To UBound(serviceNames)
  24. If Len(output) > 0 Then
  25. output = output & ", "
  26. End If
  27. output = output & Server.HTMLEncode(CStr(serviceNames(index)))
  28. Next
  29. ServiceSummary = output
  30. End Property
  31. End Class
  32. %>

Powered by TurnKey Linux.