1. 19 May, 2023 1 commit
    • dcronqvist's avatar
      Add LuaMemberAttribute (#489) · 9026d802
      dcronqvist authored
      * Registering functions now only register 1 global, fix #480
      
      * Changed `is not null` to `!= null` for backwards compatibility
      
      * Use `IsSubclassOf` instead of newer `IsAssignableTo`
      
      * Explicit type for anonymous function in unit test, for pre-C#10 compatibility
      
      * Only include test on `NETCOREAPP3_1_OR_GREATER`, added comment for test as well
      
      * Removed `NETCOREAPP3_1_OR_GREATER` check because it is unnecessary
      
      * Add LuaMemberAttribute, allows registered name in Lua to be different from C#, closes #488
      
      * Explicit typing fix
      
      * Tests use IEnumerable<T>.Contains to check for existence instead
      9026d802
  2. 15 Mar, 2023 1 commit
    • dcronqvist's avatar
      Registering functions now only register 1 global, fix #480 (#481) · 9df4990c
      dcronqvist authored
      * Registering functions now only register 1 global, fix #480
      
      * Changed `is not null` to `!= null` for backwards compatibility
      
      * Use `IsSubclassOf` instead of newer `IsAssignableTo`
      
      * Explicit type for anonymous function in unit test, for pre-C#10 compatibility
      
      * Only include test on `NETCOREAPP3_1_OR_GREATER`, added comment for test as well
      
      * Removed `NETCOREAPP3_1_OR_GREATER` check because it is unnecessary
      9df4990c
  3. 26 Nov, 2022 1 commit