All.lua.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Copyright 2017 YANG Huan (sy.yanghuan@gmail.com).
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. --]]
  13. return function(dir, conf)
  14. dir = (dir and #dir > 0) and (dir .. ".CoreSystem.") or "CoreSystem."
  15. local require = require
  16. local load = function(module) return require(dir .. module) end
  17. load("Core")(conf)
  18. load("Interfaces")
  19. load("Exception")
  20. load("Number")
  21. load("Char")
  22. load("String")
  23. load("Boolean")
  24. load("Delegate")
  25. load("Enum")
  26. load("TimeSpan")
  27. load("DateTime")
  28. load("Collections.EqualityComparer")
  29. load("Array")
  30. load("Type")
  31. load("Collections.List")
  32. load("Collections.Dictionary")
  33. load("Collections.Queue")
  34. load("Collections.Stack")
  35. load("Collections.HashSet")
  36. load("Collections.LinkedList")
  37. load("Collections.SortedDictionary")
  38. load("Collections.Linq")
  39. load("Convert")
  40. load("Math")
  41. load("Random")
  42. load("Text.StringBuilder")
  43. load("Console")
  44. load("IO.File")
  45. load("Reflection.Assembly")
  46. load("Threading.Timer")
  47. load("Threading.Thread")
  48. load("Threading.Task")
  49. load("Utilities")
  50. end