Commit graph

33 commits

Author SHA1 Message Date
Daniel Cronqvist
9b665efe18 Add more tests to Loader for custom types 2024-09-07 15:54:51 +02:00
Daniel Cronqvist
e0252d263e Added test that creates class definition from C# class and uses to load map 2024-09-07 15:47:59 +02:00
Daniel Cronqvist
d23eec4433 Move test data and current tests into UnitTests 2024-09-07 13:23:32 +02:00
Daniel Cronqvist
0a77a9fec7 Add FromEnum to CustomEnumDefinition with tests 2024-09-07 13:16:29 +02:00
Daniel Cronqvist
58b0ad3493 Make use of generic type parameter in generic methods 2024-09-07 13:03:27 +02:00
Daniel Cronqvist
64f66421c2 Add tests for FromClass for CustomClassDefinition 2024-09-07 12:59:59 +02:00
Daniel Cronqvist
762e610904 Make sure to only embed map, tileset and template files in tests binary 2024-09-07 12:49:10 +02:00
Daniel Cronqvist
84b55fe005 Added some new FromClass methods to construct custom class definitions, tests not done 2024-09-05 22:25:13 +02:00
Daniel Cronqvist
e285f97825 Add some more tests to HasPropertiesBase 2024-09-05 21:15:39 +02:00
Daniel Cronqvist
612b5cdb33 Rename tests 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
4e273cd521 Remove unecessary duplicate of API 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
ce3d4e339c Rename parts of the property mapping API and simplify 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
fda0922dcc Initial working concept of mapping properties to C# classes using reflection 2024-09-05 20:53:15 +02:00
Daniel Cronqvist
ffc529ecb6 Now able to override properties from class in Map 2024-09-04 22:24:40 +02:00
Daniel Cronqvist
0ad1347bc1 Map now resolves props from class 2024-09-04 22:11:45 +02:00
Daniel Cronqvist
247f9294af Simplified loader a bit and added more docs 2024-09-03 22:52:26 +02:00
Daniel Cronqvist
9133f8887c Add loader to make it easier to start using library 2024-09-02 21:11:31 +02:00
Daniel Cronqvist
df075eed8d Use proper list assertion and add optional to some Data properties 2024-09-01 22:09:03 +02:00
Daniel Cronqvist
4fd887e7c8 Further optional improvements, Tmj now supports it too 2024-09-01 22:03:05 +02:00
Daniel Cronqvist
88a5eadb74 Model now uses Optional correctly, I think, massive changes 2024-09-01 20:44:36 +02:00
Daniel Cronqvist
d85494e7a9 Remove .Model namespace as it is unnecessary 2024-08-30 20:11:33 +02:00
Daniel Cronqvist
aa8b390442 Add agnostic readers 2024-08-28 19:38:38 +02:00
Daniel Cronqvist
ab8173bb06 Tmj reader is now base class and new properties docs 2024-08-26 21:36:44 +02:00
Daniel Cronqvist
11f1ef783e Tmx reader is now a base abstract class 2024-08-25 17:43:13 +02:00
Daniel Cronqvist
4580772ced Fix rest of model to use new structure and prepare docs 2024-08-24 23:08:24 +02:00
Daniel Cronqvist
b46eed774a More property changes 2024-08-24 22:06:14 +02:00
Daniel Cronqvist
1c1ba326b2 Restructure properties API 2024-08-24 21:38:40 +02:00
Daniel Cronqvist
b6721934e4 More lint fixing 2024-08-22 21:12:16 +02:00
Daniel Cronqvist
bb8c3a133c Started lint work 2024-08-22 00:15:13 +02:00
Daniel Cronqvist
0d19127fb7 Add XML docs for entire model 2024-08-20 23:23:40 +02:00
Daniel Cronqvist
608e77927a Use only Model namespace 2024-08-18 21:29:38 +02:00
Daniel Cronqvist
e6d94247c1 Use folder structure namespaces 2024-08-17 21:33:18 +02:00
Daniel Cronqvist
0a11cdd791 Move source to src/ 2024-08-17 21:33:17 +02:00