Commit Graph

99 Commits

Author SHA1 Message Date
Adam Hathcock e61651ba13 add to ignore test 2024-05-21 14:14:54 +01:00
Adam Hathcock 2baba84655 Add members-to-ignore to proxy data 2024-05-21 13:56:58 +01:00
Adam Hathcock 5568a98e0b add MembersToIgnore 2024-05-21 13:03:43 +01:00
Stef Heyenrath 894b5d5049 0.1.0 2024-04-28 12:43:55 +02:00
Stef Heyenrath 49ddbc089a Cleanup some code 2024-04-28 10:45:33 +02:00
David 39d85588e6 Use fully qualified names to reduce namespace clashes. (#68)
* Use fully qualified names to reduce namespace clashes.

* Small code style fixes.

* Make properties in ProxyData immutable.

* Remove clutter by joining TrimEnd() to previous line.

* Introduce Extension method to retrieve ITypeSymbol FullyQualifiedDisplayString

* Fixed some code issues.

* Fixed method call in BaseGenerator

* Refactor metadata name
2024-04-28 10:25:50 +02:00
Stef Heyenrath 68864378d0 0.0.38 2024-04-23 12:20:39 +02:00
David 6b6e5d04a0 Do not redefine interfaces. (#67)
* Do not redefine interfaces.

* Improve code style, readability and performance after initial code review

* Implemented unit tests for the interface inheritance

* Cleaned up unit tests.

* Completely remove output helper.
2024-04-23 10:52:52 +02:00
Stef Heyenrath e146476c34 fix urls 2023-12-06 21:59:28 +01:00
Stef Heyenrath 059886d1ca Exclude System.Runtime.CompilerServices.NullableContextAttribute (#66)
* HttpClient

* .

* .

* .
2023-12-06 21:32:07 +01:00
Stef Heyenrath 77f28ffacc 0.0.36 2023-10-10 19:39:58 +02:00
Stef Heyenrath 764d9d4f58 Change "nullable disable" to "nullable restore" (#65)
* Remove "#nullable disable" and the end of generated cs file

* restore

* .
2023-10-10 19:38:40 +02:00
Stef Heyenrath cbd467d2f3 0.0.35 2023-03-02 11:04:06 +01:00
Stef Heyenrath e0ff3e4d54 Fix "ref" parameter (#61) 2023-03-02 11:02:00 +01:00
Stef Heyenrath af99f41dc9 0.0.34 2023-02-25 10:12:37 +01:00
Stef Heyenrath b2ab22a1bf 0.0.33 2023-02-24 21:53:27 +01:00
Stef Heyenrath 18ba453cbc public enum ProxyClassAccessibility 2023-02-24 21:52:30 +01:00
Stef Heyenrath 994e55c4be 0.0.32 2023-02-24 16:48:25 +01:00
Stef Heyenrath eadcf8585f Add support for public and internal ProxyClass (#58)
* x

* fx

* .
2023-02-24 16:22:26 +01:00
Stef Heyenrath 65d1d801ce Fixed multi-dimension argument / return type (#55)
* Fixed multi dimension array arguments

* .

* .

* .

* ,
2023-02-21 19:10:03 +01:00
Stef Heyenrath c1d42ac7e5 Return correct type (interfacve) for array (#53) 2023-01-23 13:11:51 +01:00
Stef Heyenrath cd85eb09be 0.0.29 2023-01-09 21:07:33 +01:00
Stef Heyenrath 106385a466 Add support for implicit and explicit operators (#51)
* .

* xxxxxxxx

* rev

* ....

* .

* ok

* 2

* .

* ,
2023-01-09 21:06:30 +01:00
Stef Heyenrath da40aae293 0.0.28 2023-01-08 09:12:43 +01:00
Stef Heyenrath d25601cf22 Add unit test for generic class + change generated filename (#50) 2023-01-08 09:10:17 +01:00
Stef Heyenrath 0df5944d06 0.0.27 2022-12-17 13:42:18 +01:00
Stef Heyenrath e22cec1b62 Add support for Property and Method attributes (#49)
* .

* .

* P en E

* .
2022-12-17 13:36:41 +01:00
Stef Heyenrath a1a283c8bb Add support for parameter attributes (#48)
* 1

* 2

* 3

* .

* x
2022-12-17 11:28:16 +01:00
Stef Heyenrath 6405e999b7 0.0.26 2022-12-14 14:25:24 +01:00
Stef Heyenrath d340c6af7c Only generate setters and getters for public properties (#47)
* Only generate setters and getters for public properties

* .
2022-12-13 19:18:30 +01:00
Stef Heyenrath 72a40e6f6a Add support to generate code for interface without a namespace (#46) 2022-12-13 18:51:06 +01:00
Stef Heyenrath 3eb9d8ce5f 0.0.25 2022-12-13 16:45:09 +01:00
Stef Heyenrath a98db7aac2 Fixed GetDeterministicHashCodeAsString (use InvariantCulture) (#41)
* Akka.Remote example

* ToString(CultureInfo.InvariantCulture)

* .
2022-12-13 16:42:59 +01:00
Stef Heyenrath 7e497cd9c7 0.0.24 2022-09-05 21:28:00 +02:00
Stef Heyenrath 0e57de17c3 Use Mapster as mapper (#39)
* mapster

* ,

* .

* ...

* .

* .

* .

* .

* .

* .

* int

* .

* ;
2022-09-05 21:26:02 +02:00
Stef Heyenrath 4b9b47ba9d 0.0.23 2022-09-04 11:14:33 +02:00
Stef Heyenrath 69fa995982 Fixed generated code when a class extends multiple classes (#38)
* .

* .

* pnp

* ok

* compiles

* ?

* e

* set

* .ToArray()

* n

* ...

* ok

* pnp

* .

* .

* mapster
2022-09-04 11:13:16 +02:00
Stef Heyenrath ee35d1916f . 2022-07-23 15:19:06 +02:00
Stef Heyenrath 1eb30d7237 0.0.22 2022-05-09 22:36:47 +02:00
Stef Heyenrath 44213e91ab Add support for indexers (#37)
* .

* .

* .

* ...

* .

* c

* p

* ok

* .
2022-05-09 22:35:08 +02:00
Stef Heyenrath 533901ec48 If the parameter is defined as Nullable, always return "null" as default value. (#36)
* In case the parameter is defined as Nullable, always return "null".

* icon

* .
2022-05-08 19:46:53 +02:00
Stef Heyenrath b5b08d8c01 0.0.20 2022-05-08 18:54:25 +02:00
Stef Heyenrath 44bc08015c . (#35) 2022-05-08 18:53:25 +02:00
Stef Heyenrath 302aae4237 0.0.19 2022-05-08 18:20:38 +02:00
Stef Heyenrath 87b2b6c6c3 Fix default valeu for reference types and non-reference types (#34)
* .

* ok

* sw

* .

* .
2022-05-08 18:19:10 +02:00
Stef Heyenrath b4c490aef9 0.0.18 2022-05-08 10:18:59 +02:00
Stef Heyenrath cab6a1ea77 Fix for default parameter (default) (#33) 2022-05-08 10:17:48 +02:00
Stef Heyenrath 63bcad4c26 Merge branch 'main' of https://github.com/StefH/ProxyInterfaceSourceGenerator 2022-05-07 09:35:40 +02:00
Stef Heyenrath bfd73558c3 0.0.17 2022-05-07 09:35:24 +02:00
Stef Heyenrath 23e9f80832 Add support for 'file-scoped' namespaces (#32)
* 008

* n

* da
2022-05-07 09:33:15 +02:00